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 3939
4040env :
4141 REPORT_FORMAT : ${{ (github.event_name == 'push' || github.event_name == 'pull_request' ) && 'json' || 'csv' }}
42+ MAIN_BENCHMARK_TASK : ${{ github.event.pull_request.number && 'prValidationBenchmark' || 'benchmark' }}
4243
4344concurrency :
4445 cancel-in-progress : true
8990 gradle-version : wrapper
9091 - name : Run benchmarks
9192 run : >
92- ./gradlew --no-daemon :benchmark:benchmark ${{ matrix.additional-task }}
93+ ./gradlew --no-daemon :benchmark:${{ env.MAIN_BENCHMARK_TASK }} ${{ matrix.additional-task }}
9394 -Pbenchmark_warmups=${{ inputs.warmups }}
9495 -Pbenchmark_iterations=${{ inputs.iterations }}
9596 -Pbenchmark_iteration_time=${{ inputs.iteration-time }}
Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ benchmark {
6262 getByName(" main" ) {
6363 include(" .*Common.*Bench.*" )
6464 }
65+ create(" prValidation" ) {
66+ include(" .*CommonAvgTimeBench.*" )
67+ }
6568 create(" comparison" ) {
6669 include(" .*Comparison.*Benchmark.*" )
6770 }
You can’t perform that action at this time.
0 commit comments