Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
473 commits
Select commit Hold shift + click to select a range
a8c46e7
Merge pull request #3 from Bnaya/support-decimal-dot
rhysd Dec 23, 2019
73285df
update changelog for v1.6.6
rhysd Dec 23, 2019
1e59992
fix head_commit object does not exist on pull_request hook
rhysd Dec 23, 2019
f8d9aa3
consider pull request hook in validation script
rhysd Dec 23, 2019
4205c5c
add tests for pull_request hook fallback on getting commit info
rhysd Dec 23, 2019
9ba4cee
add special case which should be ignored on extracting benchmark resu…
rhysd Dec 23, 2019
531718a
fix typo in a section title in README.md
rhysd Dec 23, 2019
673f297
fix error was wrongly wrapped on resolving paths
rhysd Dec 24, 2019
5951ab8
fix benchmark result value from `go test -bench` is float number (#5)
rhysd Jan 1, 2020
cde3491
update changelog for v1.6.7 updates
rhysd Jan 1, 2020
ceb50fd
specify branch name of CI job status
rhysd Jan 13, 2020
a013373
enable eqeqeq rule in eslint
rhysd Jan 15, 2020
20bc920
Hints for running tests in forked repos
bernedom Dec 26, 2019
116283d
Added catch2 example
bernedom Dec 22, 2019
88404b7
Add support for catch2 benchmarks
bernedom Dec 26, 2019
99ae26b
Merge pull request #6 from bernedom/master
rhysd Jan 16, 2020
f0757c8
build action and run Catch2 example locally until new version is rele…
rhysd Jan 16, 2020
78994b6
fix validation script to consider for the first time new tool's bench…
rhysd Jan 16, 2020
b8935cc
describe Catch2 support in README
rhysd Jan 16, 2020
92fa00e
fix yamllint errors in catch2.yml
rhysd Jan 16, 2020
643d2f3
run yamllint with warnings as error on CI
rhysd Jan 16, 2020
5c4c973
add README.md at examples/catch2/ for instruction
rhysd Jan 17, 2020
d5225ef
fix condition to check extracted data from catch2 output
rhysd Jan 17, 2020
d0e79e3
seems 'repo' permission is necessary to deploy gh-pages
rhysd Jan 17, 2020
ef551ef
'x-access-token:' should be omit for personal access token
rhysd Jan 17, 2020
685e085
fix benchmarks in catch2 example
rhysd Jan 17, 2020
da06e8b
Revert "'x-access-token:' should be omit for personal access token"
rhysd Jan 17, 2020
61a6ef4
checkout repository with personal access token to deploy branch to gh…
rhysd Jan 20, 2020
7e89fe7
add note that checking out should be done with personal access token
rhysd Jan 20, 2020
3172d63
Merge branch 'fix-deploy-checkout-v2'
rhysd Jan 20, 2020
62bb17d
more strictly parse Catch2 output
rhysd Jan 20, 2020
5656188
add iterations to extra information of Catch2 benchmark result
rhysd Jan 20, 2020
d2764bd
do not capture unused matches on extracting Catch2 output
rhysd Jan 20, 2020
56a72aa
include line number when parsing Catch2 output failing
rhysd Jan 20, 2020
d0c9f1b
fix eslint error
rhysd Jan 20, 2020
eb7a250
clear http.https://github.com.extraheader config to use specified per…
rhysd Jan 20, 2020
ededc76
Revert "Merge branch 'fix-deploy-checkout-v2'"
rhysd Jan 20, 2020
df662e3
fix tests as follow up of eb7a250
rhysd Jan 20, 2020
f8643d9
Merge branch 'wo-pak-checkout' (fix #9)
rhysd Jan 20, 2020
975cdd6
allow arbitrary benchmark name in Catch2 output
rhysd Jan 20, 2020
02da98e
fix example README and workflow for Catch2
rhysd Jan 20, 2020
1b9a103
use more complicated output for testing to extract Catch2 output
rhysd Jan 20, 2020
ffb1592
Revert "seems 'repo' permission is necessary to deploy gh-pages"
rhysd Jan 20, 2020
155e12e
prefer ?. and ?? for smaller code
rhysd Jan 20, 2020
4083579
Revert "Revert "seems 'repo' permission is necessary to deploy gh-pag…
rhysd Jan 20, 2020
7ec2f7e
update dependencies
rhysd Jan 21, 2020
99bc279
use released Catch2 support in example workflow
rhysd Jan 21, 2020
6cb57a8
update changelog for v1.7.0
rhysd Jan 21, 2020
495a653
note about how to choose output format in CONTRIBUTING.md
rhysd Jan 21, 2020
e8d70a5
remove sections which are no longer necessary in CONTRIBUTING.md
rhysd Jan 21, 2020
ccf62af
tweak instructions in CONTRIBUTING.md
rhysd Jan 21, 2020
cad226d
fix validation script
rhysd Jan 21, 2020
3bac239
fix \r\n is not considered as newline on parsing Catch2 output (fix #16)
rhysd Feb 23, 2020
557a487
update dependencies
rhysd Feb 23, 2020
f16c29a
use github.GitHub wrapper instead of Octokit
rhysd Feb 23, 2020
c55701c
fix example for googlecpp does not suppress constant folding optimiza…
rhysd Feb 23, 2020
1e47cab
add more eslint rules
rhysd Feb 23, 2020
6112559
update changelog for v1.7.1
rhysd Feb 23, 2020
8295db3
Added comment-always option
pksunkara Mar 5, 2020
44bde7f
Add on option to not save benchmarks on PR
pksunkara Mar 5, 2020
c22258e
Display improvements
pksunkara Mar 5, 2020
dce7a31
Address review comments
pksunkara Mar 11, 2020
f7e7460
Merge pull request #17 from pksunkara/master
rhysd Mar 13, 2020
1617af5
Bump acorn from 7.1.0 to 7.1.1
dependabot[bot] Mar 14, 2020
671f28a
Merge pull request #20 from rhysd/dependabot/npm_and_yarn/acorn-7.1.1
rhysd Mar 17, 2020
4642fd8
fix condition to use toFixed(2) on stringifying float number
rhysd Mar 17, 2020
b1022c8
update dependencies
rhysd Mar 17, 2020
7cadfa1
update changelog for v1.8.1
rhysd Mar 17, 2020
a335977
* Adding Criterion support
Jan 20, 2020
03ffcbe
Allow '/' in test name (rust)
Apr 26, 2020
e47c97d
Merge pull request #26 from morenol/master
rhysd Apr 27, 2020
69c1f6c
Fix criterion.rs test in master
Apr 27, 2020
ce82769
Bump @actions/http-client from 1.0.6 to 1.0.8
dependabot[bot] Apr 29, 2020
223d4be
Merge pull request #27 from morenol/lmm/test
rhysd May 1, 2020
b2ee598
Merge pull request #29 from rhysd/dependabot/npm_and_yarn/actions/htt…
rhysd May 1, 2020
a1914d7
update changelog for v1.8.1
rhysd Jun 10, 2020
e3241dd
fetch head commit information as fallback
ktrz Aug 11, 2021
bd200b2
remove unnecessary eslint disabled sections
ktrz Aug 11, 2021
450cb08
update URLs for repository transition
rhysd Oct 2, 2021
212bdda
personal access token seems no longer necessary
rhysd Oct 2, 2021
f6cf380
give deployment permission to example workflows
rhysd Oct 2, 2021
3b96c47
add contents write permission to example workflows
rhysd Oct 2, 2021
6ed7bce
fix criterion example workflow
rhysd Oct 2, 2021
b66943d
fix pytest example workflow
rhysd Oct 2, 2021
b312d14
update document following personal access token being unnecessary [sk…
rhysd Oct 2, 2021
e5fab0d
fix: allow more test name
HerringtonDarkholme Oct 2, 2021
92a8759
Merge pull request #80 from HerringtonDarkholme/patch-1
rhysd Oct 2, 2021
d7da280
fix old links pointing pages before repository transition
rhysd Oct 2, 2021
c248774
remove husky and update old lockfile
rhysd Oct 2, 2021
cf314e1
use codecov-action v2
rhysd Oct 2, 2021
61b16d2
Remove references to payload as much as possible
ktrz Aug 11, 2021
3911100
Merge pull request #1 from NathanielRN/replace-payload-repo-with-context
ktrz Oct 5, 2021
7141933
Merge branch 'master' into fix/manual-and-scheduled-runs
ktrz Oct 5, 2021
54a8c6e
format with prettier
ktrz Oct 5, 2021
e834399
add types back
ktrz Oct 5, 2021
14b2070
Merge pull request #74 from ktrz/fix/manual-and-scheduled-runs
ktrz Oct 12, 2021
daca3ae
update changelog for v1.9.0
ktrz Oct 12, 2021
9809903
pin python version to 3.9 (#82)
ktrz Oct 28, 2021
c5dfc9d
Allow user defined custom benchmarks (#81)
NathanielRN Oct 28, 2021
9661103
update changelog for v1.10.0
ktrz Oct 28, 2021
582e655
Bump py from 1.8.0 to 1.10.0 in /examples/pytest (#62)
dependabot[bot] Oct 28, 2021
e72e01c
Bump @actions/core from 1.2.3 to 1.2.6 (#47)
dependabot[bot] Oct 28, 2021
80bf811
Add new custom types to README (#83)
michaelmior Nov 3, 2021
5d6c8c4
Fix/go tabled benchmarks (#32)
kaancfidan Nov 20, 2021
3f97db6
Chore/add jest (#88)
ktrz Dec 3, 2021
3c0e5b7
Support BenchmarkTools.jl in Julia (#89)
findmyway Dec 4, 2021
1ee4686
fix release script
ktrz Dec 4, 2021
8e6628b
update changelog for v1.11.1
ktrz Dec 4, 2021
ab49d1a
Fix broken links in README (#90)
findmyway Dec 6, 2021
558af0c
Added option to use Rust benchmark names with spaces (#94)
Razican Dec 28, 2021
2eac1b8
update changelog for v1.11.2
ktrz Dec 28, 2021
fda486e
fix trailing whitespace characters in cargo benchmarks (#97)
ktrz Dec 31, 2021
e1d6443
Update changelog for v1.11.3
ktrz Dec 31, 2021
7e670e2
Fetch gh-pages branch using github token (#105)
dmathieu Jan 27, 2022
5408d6a
Bump action runner to node v16 (#106)
ktrz Jan 28, 2022
aa331d9
Update changelog for v1.12.0
ktrz Jan 28, 2022
382d47a
Update README.md
Feb 16, 2022
24ebbde
Updated urls to support GHES (#104)
MJochum Feb 17, 2022
b3c12e5
Add support for BenchmarkDotNet (#109)
cabauman Feb 17, 2022
bc37892
Bump node-fetch from 2.6.6 to 2.6.7 (#107)
dependabot[bot] Feb 17, 2022
b116644
Update changelog for v1.13.0
ktrz Feb 17, 2022
12c6721
Fix a couple errant links for Benchmark.NET (#110)
baronfel Feb 17, 2022
4cd86fc
Update URL to main website from Benchmark.NET README (#111)
baronfel Feb 17, 2022
f6baee1
Added benchmark luau support (#123)
AllanJeremy May 11, 2022
318404e
Bump minimist from 1.2.5 to 1.2.6 (#114)
dependabot[bot] May 11, 2022
7a4e68b
fix: benchmarkluau not included in a list of valid tools (#125)
ktrz May 28, 2022
0e77d47
Implement deploy to another repository (#112)
ktbarrett May 28, 2022
ba45074
enable push benchmarks to separate results repo
ktrz May 28, 2022
5f23f8d
Update changelog for v1.14.0
ktrz May 28, 2022
75e5716
Add support for Java via JMH (#134)
michaelmior Nov 3, 2022
d4d45b5
Chore/update deps (#137)
ktrz Nov 3, 2022
b2887b6
Update changelog for v1.15.0
ktrz Nov 3, 2022
ef8d556
fix: use ubuntu-20.04 for C++ benchmarks (#143)
ktrz Dec 12, 2022
3c04a91
fix: fixed small error in documentation (#140)
jofas Dec 12, 2022
241e9fd
jmh in code block (#151)
epompeii Feb 6, 2023
7eeba89
Bump json5 from 2.2.0 to 2.2.3 (#148)
dependabot[bot] Feb 6, 2023
78c0eb2
feat: support pr summary for benchmark output (#138)
LeoBorai Mar 5, 2023
7d3c470
Update changelog for v1.16.0
ktrz Mar 5, 2023
220a023
fix: add summary-always parameter to action.yml
ktrz Mar 6, 2023
18d5a3a
fix: use `commit.id` over `commit` object (#155)
LeoBorai Mar 8, 2023
060e110
update CHANGELOG.md for v1.16.1 & v1.16.2
ktrz Mar 8, 2023
5112d4a
support for JMH parameters (as separate charts) (#161)
matyasberry Mar 26, 2023
87c65e8
feat: enable user to specify the ref being tested (#163)
robobario Apr 26, 2023
5d67cdc
feat: allow more characters in Golang bench outputs (#131)
vaeryn-uk Apr 26, 2023
9902194
update CHANGELOG.md for v1.17.0
ktrz Apr 26, 2023
dab8151
update README.md for v1.17.0
ktrz Apr 26, 2023
ee5f49d
getServerUrl refers to the GITHUB_SERVER_URL environment variable (#169)
srz-zumix May 6, 2023
6b33125
Remove unreachable code from extract.ts (#153)
okuramasafumi May 10, 2023
3dc9c9f
Fixed getCommitFromGitHubAPIRequest to refer to GITHUB_API_URL (#171)
srz-zumix May 18, 2023
0c70f15
feat: extract multiple metrics from golang benchmarks (#177)
ningziwen Jul 7, 2023
e85c505
update CHANGELOG.md for v1.18.0
ktrz Jul 7, 2023
ffcca13
Bump tough-cookie from 4.0.0 to 4.1.3 (#178)
dependabot[bot] Jul 15, 2023
deaf0e0
Bump word-wrap from 1.2.3 to 1.2.4 (#179)
dependabot[bot] Jul 19, 2023
d1eb523
Add description for skip-fetch-gh-pages (#180)
alvicsam Sep 8, 2023
a229668
fix: mismatch input in action.yml (#191)
ChinYikMing Sep 9, 2023
da5ac2e
fix: update Manifest.toml to fix julia test failure (#210)
ningziwen Jan 24, 2024
036be2a
update to node 20 (#208)
miparnisari Jan 24, 2024
83426c0
chore: update actions/* (#212)
ktrz Jan 24, 2024
029e9b8
fix: 213 summary-always and gh-repository don't work together (#214)
ktrz Jan 25, 2024
65ff1d7
update CHANGELOG.md for v1.19.0
ktrz Jan 25, 2024
18a7953
fix: improve flaky CI runs (#215)
ktrz Jan 25, 2024
9598b26
fix: write with retry fails with separate repository (#216)
ktrz Jan 25, 2024
6fc0096
update CHANGELOG.md for v1.19.1
ktrz Jan 25, 2024
d58623d
fix: 159 markdown rendering for summary is broken (#218)
ktrz Jan 26, 2024
459adab
update CHANGELOG.md for v1.19.2
ktrz Jan 26, 2024
6911be9
fix badges urls
ktrz Jan 27, 2024
785a741
chore: update jest to 29.7.0 (#219)
ktrz Jan 29, 2024
e108afd
fix: 204 ratio is NaN when previous value is 0 (#222)
ktrz Jan 31, 2024
1c81dfd
fix: 224 action hangs in some cases for go fiber benchmarks (#225)
ktrz Feb 2, 2024
e7180f5
release v1.19.3
ktrz Feb 2, 2024
a6c4f1c
fix: 231 rust bench not comparing to baseline (#235)
ktrz Mar 26, 2024
f65fed8
feat: Comment on PR and auto update comment (#223)
ktrz Mar 28, 2024
834156f
release v1.20.0
ktrz Apr 2, 2024
9e0d13d
fix: release script
ktrz Apr 2, 2024
680c685
release v1.20.1
ktrz Apr 2, 2024
8e74972
chore: migrate extract tests to use snapshot testing (#236)
ktrz Apr 5, 2024
f6ab2e2
fix: Support sub-nanosecond precision on Cargo benchmarks (#246)
ktrz May 19, 2024
e473152
release v1.20.2
ktrz May 19, 2024
2b82b9a
fix: Catch2 v.3.5.0 changed output format (#247)
ktrz May 19, 2024
55f6195
release v1.20.3
ktrz May 19, 2024
8deacbb
Rename "PR Summary" into "Job Summary" (#252)
XSAM Jun 19, 2024
fe4e90e
Fix broken links to github actions (#253)
XSAM Jun 19, 2024
9c9d03a
Add typings and validation workflow (#257)
krzema12 Sep 9, 2024
c3a5e4e
Update C# README (#258)
martincostello Sep 15, 2024
3ef0ad3
chore: update prepare-release.sh script
ktrz Oct 23, 2024
6bae118
release v1.20.4
ktrz Oct 23, 2024
e3c6616
feat: allow to parse generic cargo bench/criterion units (#280)
xtrm0 Dec 9, 2024
25797e0
fix: add summary even when failure threshold is surpassed (#285)
414owen Mar 12, 2025
5378675
chore: tweak grammar of non-failure alert (#284)
414owen Mar 12, 2025
fd128cf
chore: update ubuntu runner from 20.04 to latest (#312)
ktrz May 19, 2025
689894f
chore: enable codecov comment on PRs (#321)
ktrz Aug 30, 2025
1003f6b
fix: time units are not normalized (issue #122) (#318)
ktrz Sep 2, 2025
65914f2
release v1.20.5
ktrz Sep 2, 2025
5cc7864
fix: improve validation for custom benchmarks (#323)
ktrz Sep 6, 2025
2e6f4e3
release v1.20.7
ktrz Sep 6, 2025
0794100
merge remote-tracking branch 'upstream/master'
VaradaNambiar Dec 10, 2025
58ef2d6
Change hardcoded "benchmark-action/github-action-benchmark" to "arup-…
biserova-k Dec 10, 2025
a6397df
Merge pull request #3 from arup-group/fix/change-repo-path
biserova-k Dec 10, 2025
3c8d332
Fix typo
biserova-k Dec 10, 2025
a34e53c
Merge pull request #4 from arup-group/fix/change-repo-path
biserova-k Dec 10, 2025
80297ea
Get rid of "separate results repo" step (was added lately in source r…
biserova-k Dec 10, 2025
31ae7f9
Merge pull request #5 from arup-group/fix/change-repo-path
biserova-k Dec 10, 2025
c082c3d
Try to fix "file not found" (test)
biserova-k Dec 10, 2025
42dff10
Merge pull request #6 from arup-group/fix/change-repo-path
biserova-k Dec 10, 2025
58d1b9d
Restore jmh benchmark to upstream version
biserova-k Dec 10, 2025
88dd2cd
Update actions/cache (newer then upstream)
biserova-k Dec 10, 2025
57840c3
Test fix
biserova-k Dec 10, 2025
f4f20c3
Another test
biserova-k Dec 10, 2025
e0e25c8
Restore ci-results-repo but make it same repo
biserova-k Dec 10, 2025
8d6bea5
Revert folder check
biserova-k Dec 10, 2025
0157d5f
Fix Error: 462:42 [new-line-at-end-of-file] no new line character at…
biserova-k Dec 10, 2025
f630b64
Fix 18:37 [comments] too few spaces before comment: expected 2
biserova-k Dec 10, 2025
697d5c1
Restore results storing
biserova-k Dec 10, 2025
c37e181
Fix lint errors
biserova-k Dec 10, 2025
5038281
Lint fix
biserova-k Dec 10, 2025
336b2ce
Merge pull request #8 from arup-group/fix/cicd_after_update
biserova-k Dec 10, 2025
85b9a15
Fix token to match the repo
biserova-k Dec 11, 2025
94fad49
Merge pull request #9 from arup-group/fix/cicd_after_update
biserova-k Dec 11, 2025
6c8a8b4
dummy change
VaradaNambiar Dec 11, 2025
991a67f
chore(deps-dev): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Dec 10, 2025
04d8fc3
Revert "dummy change"
VaradaNambiar Dec 11, 2025
fab5b60
Merge pull request #12 from arup-group/update-braces-version2
VaradaNambiar Dec 11, 2025
a65147b
Potential fix for code scanning alert no. 32: Workflow does not conta…
VaradaNambiar Dec 11, 2025
6cdcbec
Merge pull request #13 from arup-group/alert-autofix-32
VaradaNambiar Dec 11, 2025
f83fbf7
Potential fix for code scanning alert no. 30: Workflow does not conta…
VaradaNambiar Dec 11, 2025
7353118
Merge pull request #14 from arup-group/alert-autofix-30
VaradaNambiar Dec 11, 2025
cb88df9
Potential fix for code scanning alert no. 29: Workflow does not conta…
VaradaNambiar Dec 11, 2025
04f9505
Merge pull request #15 from arup-group/codescaning-autosuggested-fixes
VaradaNambiar Dec 11, 2025
e3ec321
Add permission block
VaradaNambiar Dec 11, 2025
5970678
Add a line
VaradaNambiar Dec 11, 2025
a2d5f32
Merge pull request #16 from arup-group/fix-codescanning-alerts-for-gi…
VaradaNambiar Dec 11, 2025
e03a3cb
Potential fix for code scanning alert no. 28: Workflow does not conta…
VaradaNambiar Dec 11, 2025
cbdf1f9
Merge pull request #17 from arup-group/alert-autofix-28
VaradaNambiar Dec 11, 2025
0dfc54d
Revert "Add permission block"
VaradaNambiar Dec 11, 2025
54348cb
add github permissions to workflow blocks
VaradaNambiar Dec 11, 2025
828b089
Merge pull request #18 from arup-group/fix-codescan-slerts-for-github…
VaradaNambiar Dec 11, 2025
19b6eea
add permissions for jobs in workflows of ci.yml file
VaradaNambiar Dec 11, 2025
a2c64ea
Merge pull request #19 from arup-group/fix-codescan-slerts-for-github…
RaviKumarGubbala Dec 11, 2025
347d530
Potential fix for code scanning alert no. 10: Workflow does not conta…
RaviKumarGubbala Dec 11, 2025
afcee10
Merge pull request #20 from arup-group/alert-autofix-10
RaviKumarGubbala Dec 11, 2025
fd9b722
Add the permissions key to the job - suggested by AI
RaviKumarGubbala Dec 11, 2025
e3495e6
Merge pull request #21 from arup-group/task/fix-ci-yml-permission-war…
RaviKumarGubbala Dec 11, 2025
ba4e705
Revert "Add the permissions key to the job - suggested by AI"
RaviKumarGubbala Dec 11, 2025
0ebcbe9
Merge pull request #22 from arup-group/revert-21-task/fix-ci-yml-perm…
RaviKumarGubbala Dec 11, 2025
80fdf1a
add permissions for jobs in workflow in ci.yml
VaradaNambiar Dec 11, 2025
fa1cd93
chore(deps): bump zipp from 0.6.0 to 3.19.1 in /examples/pytest
dependabot[bot] Dec 11, 2025
e038350
Merge pull request #23 from arup-group/fix-codescan-slerts-for-github…
VaradaNambiar Dec 11, 2025
283ae9a
Merge pull request #24 from arup-group/dependabot/pip/examples/pytest…
VaradaNambiar Dec 11, 2025
0325896
Merge branch 'master' into consistent-duration-units-catch2-synced-to…
VaradaNambiar Dec 15, 2025
4057cd6
update node_modules and dist folder
VaradaNambiar Dec 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
coverage:
status:
project: yes
patch: no
changes: no
64 changes: 64 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:prettier/recommended"],
"env": {
"es6": true,
"node": true
},
"rules": {
"prefer-spread": "off",
"eqeqeq": "error"
},
"ignorePatterns": ["examples/**", "dist/**"],
"overrides": [
{
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.build.json", "./tsconfig.spec.json"]
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-unused-vars": ["warn", { "varsIgnorePattern": "^_" }],
"@typescript-eslint/naming-convention": "error",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/no-unnecessary-type-arguments": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-empty-interface": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/no-extra-non-null-assertion": "error",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/ban-ts-comment": "error",
"@typescript-eslint/prefer-includes": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-string-starts-ends-with": "error",
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
"@typescript-eslint/switch-exhaustiveness-check": "error"
}
},
{
"files": ["test/*.ts"],
"plugins": ["jest"],
"env": {
"jest/globals": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/naming-convention": "off"
}
},
{
"files": ["**/*.js"],
"env": {
"browser": true
},
"rules": {}
}
]
}
49 changes: 49 additions & 0 deletions .github/workflows/benchmarkdotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Benchmark.Net Example
on:
push:
branches:
- master

permissions:
contents: write
deployments: write

jobs:
benchmark:
name: Run Benchmark.Net benchmark example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: "6.0.101"
- name: Run benchmark
run: cd examples/benchmarkdotnet && dotnet run --exporters json --filter '*'

- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
name: Benchmark.Net Benchmark
tool: "benchmarkdotnet"
output-file-path: examples/benchmarkdotnet/BenchmarkDotNet.Artifacts/results/Sample.Benchmarks-report-full-compressed.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@ktrz"
- name: Store benchmark result - separate results repo
uses: rhysd/github-action-benchmark@v1
with:
name: Benchmark.Net Benchmark
tool: "benchmarkdotnet"
output-file-path: examples/benchmarkdotnet/BenchmarkDotNet.Artifacts/results/Sample.Benchmarks-report-full-compressed.json
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@ktrz"
gh-repository: "github.com/arup-group/github-action-benchmark"
49 changes: 49 additions & 0 deletions .github/workflows/benchmarkjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Benchmark.js Example
on:
push:
branches:
- master

permissions:
contents: write
deployments: write

jobs:
benchmark:
name: Run JavaScript benchmark example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Run benchmark
run: cd examples/benchmarkjs && npm install && node bench.js | tee output.txt

- name: Store benchmark result
uses: arup-group/github-action-benchmark@v1
with:
name: Benchmark.js Benchmark
tool: "benchmarkjs"
output-file-path: examples/benchmarkjs/output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
- name: Store benchmark result - separate results repo
uses: arup-group/github-action-benchmark@v1
with:
name: Benchmark.js Benchmark
tool: "benchmarkjs"
output-file-path: examples/benchmarkjs/output.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@ktrz"
gh-repository: "github.com/arup-group/github-action-benchmark"
50 changes: 50 additions & 0 deletions .github/workflows/catch2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Catch2 C++ Example
on:
push:
branches:
- master

permissions:
contents: write
deployments: write

jobs:
benchmark:
name: Run Catch2 C++ Benchmark Framework example (v3.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and run benchmarks with Catch2
run: |
cd examples/catch2
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
./Catch2_bench | tee ../benchmark_result.txt

- name: Store benchmark result
uses: arup-group/github-action-benchmark@v1
with:
name: Catch2 Benchmark (v3)
tool: "catch2"
output-file-path: examples/catch2/benchmark_result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
- name: Store benchmark result - separate results repo
uses: arup-group/github-action-benchmark@v1
with:
name: Catch2 Benchmark (v3)
tool: "catch2"
output-file-path: examples/catch2/benchmark_result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@ktrz"
gh-repository: "github.com/arup-group/github-action-benchmark"
50 changes: 50 additions & 0 deletions .github/workflows/catch2_v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Catch2 C++ Example
on:
push:
branches:
- master

permissions:
contents: write
deployments: write

jobs:
benchmark:
name: Run Catch2 C++ Benchmark Framework example (v2.x)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and run benchmarks with Catch2
run: |
cd examples/catch2_v2
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
./Catch2_bench | tee ../benchmark_result.txt

- name: Store benchmark result
uses: arup-group/github-action-benchmark@v1
with:
name: Catch2 Benchmark
tool: "catch2"
output-file-path: examples/catch2_v2/benchmark_result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
- name: Store benchmark result - separate results repo
uses: arup-group/github-action-benchmark@v1
with:
name: Catch2 Benchmark
tool: "catch2"
output-file-path: examples/catch2_v2/benchmark_result.txt
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-push: true
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "200%"
comment-on-alert: true
fail-on-alert: true
alert-comment-cc-users: "@ktrz"
gh-repository: "github.com/arup-group/github-action-benchmark"
Loading