File tree 4 files changed +14
-2
lines changed
4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 4
4
benchmark_pr_with_bencher :
5
5
if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
6
6
permissions :
7
+ pull-requests : write
7
8
issues : write
8
9
name : Continuous Benchmarking with Bencher
9
10
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 14
14
env :
15
15
BENCHER_PROJECT : example
16
16
BENCHER_ADAPTER : json
17
- BENCHER_TESTBED : ubuntu-latest
17
+ BENCHER_TESTBED : ubuntu-latest-target
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
with :
Original file line number Diff line number Diff line change 13
13
env :
14
14
BENCHER_PROJECT : example
15
15
BENCHER_ADAPTER : json
16
- BENCHER_TESTBED : ubuntu-latest
16
+ BENCHER_TESTBED : ubuntu-latest-track
17
17
BENCHMARK_RESULTS : benchmark_results.json
18
18
PR_EVENT : event.json
19
19
steps :
Original file line number Diff line number Diff line change
1
+ # Bencher Examples
2
+
3
+ [ Bencher] ( https://bencher.dev ) is a suite of [ continuous benchmarking] ( https://bencher.dev/docs/explanation/continuous-benchmarking/ ) tools.
4
+ The ` .github ` directory contains example workflows from [ how to use Bencher in GitHub Actions] ( https://bencher.dev/docs/how-to/github-actions/ ) .
5
+
6
+ - [ Benchmark pushes to ` main ` branch] ( .github/workflows/benchmarks.yml )
7
+ - [ Benchmark pull requests from branches] ( .github/workflows/pr_benchmarks.yml )
8
+ - [ Benchmark fork pull requests with Required Reviewers] ( .github/workflows/pr_target_benchmarks.yml )
9
+ - Benchmark fork pull requests and upload from default branch
10
+ - [ Run benchmarks and cache] ( .github/workflows/pr_and_cache_benchmarks.yml )
11
+ - [ Track benchmarks] ( .github/workflows/pr_track_benchmarks.yml )
You can’t perform that action at this time.
0 commit comments