All Projects β†’ boa-dev β†’ criterion-compare-action

boa-dev / criterion-compare-action

Licence: ISC license
βš‘οΈπŸ“Š Compare the performance of Rust project branches

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to criterion-compare-action

criterion-compare-action
βš‘οΈπŸ“Š Compare the performance of Rust project branches
Stars: ✭ 16 (-56.76%)
Mutual labels:  benchmark, criterion, github-actions
criterion
statistics-driven micro-benchmarking framework
Stars: ✭ 17 (-54.05%)
Mutual labels:  benchmark, criterion
Criterion.rs
Statistics-driven benchmarking library for Rust
Stars: ✭ 2,153 (+5718.92%)
Mutual labels:  benchmark, criterion
tauri-action
Build your Web application as a Tauri binary for MacOS, Linux and Windows
Stars: ✭ 290 (+683.78%)
Mutual labels:  github-actions
web-benchmarks
A set of HTTP server benchmarks for Golang, node.js and Python with proper CPU utilization and database connection pooling.
Stars: ✭ 22 (-40.54%)
Mutual labels:  benchmark
branch-names
Github action to retrieve branch or tag names with support for all events.
Stars: ✭ 99 (+167.57%)
Mutual labels:  github-actions
anonymization-api
How to build and deploy an anonymization API with FastAPI
Stars: ✭ 51 (+37.84%)
Mutual labels:  github-actions
issue-states
GitHub Action that closes or reopens issues when they are moved to a project column
Stars: ✭ 64 (+72.97%)
Mutual labels:  github-actions
gatsby-cli-github-action
GitHub Action wrapping the Gatsby CLI
Stars: ✭ 47 (+27.03%)
Mutual labels:  github-actions
stuff
All stuff in a single repo (tests, ideas, benchmarks)
Stars: ✭ 13 (-64.86%)
Mutual labels:  benchmark
lua-vs-vimscript
A simple benchmark comparing Lua performance to Vimscript (because no one seems to care about these nowadays)
Stars: ✭ 32 (-13.51%)
Mutual labels:  benchmark
mlgauge
A simple library to benchmark the performance of machine learning methods across different datasets.
Stars: ✭ 22 (-40.54%)
Mutual labels:  benchmark
ExecutorBenchmark
No description or website provided.
Stars: ✭ 39 (+5.41%)
Mutual labels:  benchmark
create-release-action
| Public | GitHub Action to Create a Release in Octopus Deploy
Stars: ✭ 68 (+83.78%)
Mutual labels:  github-actions
aws-security-group-add-ip-action
GitHub Action for AWS Security Group Add IP
Stars: ✭ 32 (-13.51%)
Mutual labels:  github-actions
myshoes
Auto-scaling VirtualMachine runner πŸƒ for GitHub Actions
Stars: ✭ 68 (+83.78%)
Mutual labels:  github-actions
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (+0%)
Mutual labels:  github-actions
NJU-health-report
η”¨δΊŽεœ¨ GitHub Action δΈŠιƒ¨η½²ε—δΊ¬ε€§ε­¦ζ―ζ—₯ε₯εΊ·ε‘«ζŠ₯θ‡ͺεŠ¨ζ‰“ε‘θ„šζœ¬
Stars: ✭ 112 (+202.7%)
Mutual labels:  github-actions
PHP-Frameworks-Bench
Popular PHP Frameworks Benchmark.
Stars: ✭ 28 (-24.32%)
Mutual labels:  benchmark
goku
goku is a HTTP load testing application written in Rust
Stars: ✭ 29 (-21.62%)
Mutual labels:  benchmark

criterion-compare

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's criterion.rs benchmarks.

Example

Example benchmark comparison comment

Usage

Create a .github/workflows/pull_request.yml file in your repo:

on: [pull_request]
name: benchmark pull requests
jobs:
  runBenchmark:
    name: run benchmark
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: boa-dev/[email protected]
        with:
          cwd: "subDirectory (optional)"
          # Optional. Compare only this benchmark target
          benchName: "example-bench-target"
          # Optional. Disables the default features of a crate
          defaultFeatures: false
          # Optional. Features activated in the benchmark
          features: "async,tokio-support"
          # Needed. The name of the branch to compare with. This default uses the branch which is being pulled against
          branchName: ${{ github.base_ref }}
          # Optional. Default is `${{ github.token }}`.
          token: ${{ secrets.GITHUB_TOKEN }}

Troubleshooting

Unrecognized option: 'save-baseline'

If you encounter this error, you can check this Criterion FAQ, to find a workaround.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].