File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7+
8+ name : Run Benchmarks
9+
10+ on :
11+ workflow_dispatch :
12+
13+ jobs :
14+ build :
15+
16+ runs-on : ubuntu-latest
17+ permissions :
18+ contents : read
19+
20+ steps :
21+ - uses : actions/checkout@v5
22+ - name : Set up JDK 25
23+ uses : actions/setup-java@v5
24+ with :
25+ java-version : ' 25'
26+ distribution : ' temurin'
27+ - name : Bench
28+ run : bash gradlew clean bench
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ public abstract class AbstractBench {
1212 @ Benchmark
1313 @ BenchmarkMode (Mode .Throughput )
1414 @ OutputTimeUnit (TimeUnit .MILLISECONDS )
15- @ Warmup (iterations = 2 , time = 1 , timeUnit = TimeUnit .SECONDS )
16- @ Measurement (iterations = 4 , time = 1 , timeUnit = TimeUnit .SECONDS )
15+ @ Warmup (iterations = 2 , time = 2 , timeUnit = TimeUnit .SECONDS )
16+ @ Measurement (iterations = 4 , time = 4 , timeUnit = TimeUnit .SECONDS )
1717 @ Fork (1 )
1818 public void run () throws Exception {
1919
You can’t perform that action at this time.
0 commit comments