File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 39
39
40
40
env :
41
41
REPORT_FORMAT : ${{ (github.event_name == 'push' || github.event_name == 'pull_request' ) && 'json' || 'csv' }}
42
+ MAIN_BENCHMARK_TASK : ${{ github.event.pull_request.number && 'prValidationBenchmark' || 'benchmark' }}
42
43
43
44
concurrency :
44
45
cancel-in-progress : true
89
90
gradle-version : wrapper
90
91
- name : Run benchmarks
91
92
run : >
92
- ./gradlew --no-daemon :benchmark:benchmark ${{ matrix.additional-task }}
93
+ ./gradlew --no-daemon :benchmark:${{ env.MAIN_BENCHMARK_TASK }} ${{ matrix.additional-task }}
93
94
-Pbenchmark_warmups=${{ inputs.warmups }}
94
95
-Pbenchmark_iterations=${{ inputs.iterations }}
95
96
-Pbenchmark_iteration_time=${{ inputs.iteration-time }}
Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ benchmark {
62
62
getByName(" main" ) {
63
63
include(" .*Common.*Bench.*" )
64
64
}
65
+ create(" prValidation" ) {
66
+ include(" .*CommonAvgTimeBench.*" )
67
+ }
65
68
create(" comparison" ) {
66
69
include(" .*Comparison.*Benchmark.*" )
67
70
}
You can’t perform that action at this time.
0 commit comments