Skip to content

Commit

Permalink
Merge pull request #418 from jaytaph/bencher
Browse files Browse the repository at this point in the history
Added bencher
  • Loading branch information
jaytaph authored Mar 25, 2024
2 parents 4fad003 + bac488a commit c0f64fd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/bencher.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Bencher.dev benchmarks

on:
push:
branches:
- * # All branches

jobs:
benchmark_with_bencher:
name: Continuous Benchmarking with Bencher
runs-on: ubuntu-latest
env:
BENCHER_PROJECT: gosub-engine
BENCHER_TESTBED: ubuntu-latest
BENCHER_ADAPTER: json
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
- name: Track Benchmarks with Bencher
run: |
bencher run \
--branch "$GITHUB_REF_NAME" \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
--err \
cargo bench --all

0 comments on commit c0f64fd

Please sign in to comment.