forked fromboa-dev/criterion-compare-action
- Notifications
You must be signed in to change notification settings - Fork0
⚡️📊 Compare the performance of Rust project branches
License
NotificationsYou must be signed in to change notification settings
gorilainvest/criterion-compare-action
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Compare the performance of a PR against the base branch.
⚠️ Performance benchmarks provided by this action may fluctuate as load on GitHub Actions does. Run benchmarks locally before making any decisions based on the results.
A GitHub action that will compare the benchmark output between a PR and the base branch, using the project'scriterion.rs benchmarks.
Create a.github/workflows/pull_request.yml file in your repo:
on:[pull_request]name:benchmark pull requestsjobs:runBenchmark:name:run benchmarkruns-on:ubuntu-lateststeps: -uses:actions/checkout@v3 -uses:boa-dev/criterion-compare-action@v3with:cwd:'subDirectory (optional)'# Optional. Compare only this packagepackage:'example-package'# Optional. Compare only this benchmark targetbenchName:'example-bench-target'# Optional. Disables the default features of a cratedefaultFeatures:false# Optional. Features activated in the benchmarkfeatures:'async,tokio-support'# Needed. The name of the branch to compare with. This default uses the branch which is being pulled againstbranchName:${{ github.base_ref }}# Optional. Default is `${{ github.token }}`.token:${{ secrets.GITHUB_TOKEN }}
If you encounter this error, you can checkthis Criterion FAQ, to find a workaround.
About
⚡️📊 Compare the performance of Rust project branches
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- JavaScript93.2%
- Dockerfile6.8%
