File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Continuous Benchmarking
22
3- # This workflow runs on pushes to the main branch and on pull requests that target the main branch.
43on :
54 push :
65 branches :
@@ -21,20 +20,18 @@ jobs:
2120 - name : Checkout Code
2221 uses : actions/checkout@v4
2322
24-
2523 - name : Run Full Benchmark Suite (on main)
2624 if : github.event_name == 'push'
27- run : cargo bench -- --nocapture > output.txt
25+ run : cargo bench -- --nocapture --output-format bencher > output.txt
2826
2927 - name : Run Lighter Benchmark Suite (on PR)
3028 if : github.event_name == 'pull_request'
31- run : |
32- cargo bench --bench zip_benches Core -- --nocapture >> output.txt
29+ run : cargo bench --bench zip_benches "Core" -- --nocapture --output-format bencher > output.txt
3330
3431 - name : Store and Analyze Benchmark Results
3532 uses : benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4
3633 with :
3734 tool : ' cargo'
3835 output-file-path : ' output.txt'
3936 github-token : ${{ secrets.GITHUB_TOKEN }}
40- comment-on-alert : true # Post a comment on PRs for regressions.
37+ comment-on-alert : true
You can’t perform that action at this time.
0 commit comments