8000 GitHub - longfangsong/criterion-compare-action-1: ⚡️📊 Compare the performance of Rust project branches
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

⚡️📊 Compare the performance of Rust project branches

License

Notifications You must be signed in to change notification settings

longfangsong/criterion-compare-action-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

criterion-compare

Compare the performance of a PR against master


⚠️ 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 master, 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: jasonwilliams/criterion-compare-action@move_to_actions
        with:
          cwd: "subDirectory (optional)"
          token: ${{ secrets.GITHUB_TOKEN }}

About

⚡️📊 Compare the performance of Rust project branches

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 92.0%
  • Dockerfile 8.0%
0