Skip to content

Commit a16e919

Browse files
dfa1claude
andcommitted
fix(ci): limit benchmark scope and iterations in CI
Pass JMH args through bench script. In CI, run only RustVsJava benchmarks (skip 3GB BigFile setup) with -wi 1 -i 3 -f 1 to keep runtime under 5 minutes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 83d1bcd commit a16e919

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
sudo install -m 755 flatc /usr/local/bin/flatc
3939
4040
- name: Run benchmarks
41-
run: ./bench
41+
run: ./bench "RustVsJava" -wi 1 -i 3 -f 1
4242

4343
- name: Store benchmark results
4444
uses: benchmark-action/github-action-benchmark@v1

bench

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ java \
66
--enable-native-access=ALL-UNNAMED \
77
--sun-misc-unsafe-memory-access=allow \
88
-jar performance/target/benchmarks.jar \
9-
"${1:-.*}" \
9+
"${@:-.+}" \
1010
-rf json \
1111
-rff performance/target/benchmark-result.json

0 commit comments

Comments
 (0)