File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5858 - name : Run benchmarks
5959 run : >
6060 ./gradlew --no-daemon --info :benchmark:benchmark ${{ inputs.additional-task }}
61- -Pbenchmark.warmups =${{ inputs.warmups }}
62- -Pbenchmark.iterations =${{ inputs.iterations }}
63- -Pbenchmark.iteration_time =${{ inputs.iteration-time }}
64- -Pbenchmark.iteration_time_unit =${{ inputs.iteration-time-unit }}
61+ -Pbenchmark_warmups =${{ inputs.warmups }}
62+ -Pbenchmark_iterations =${{ inputs.iterations }}
63+ -Pbenchmark_iteration_time =${{ inputs.iteration-time }}
64+ -Pbenchmark_iteration_time_unit =${{ inputs.iteration-time-unit }}
Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ fun Any?.takeIfNotBlank(): String? = this?.toString()?.takeUnless(String::isBlan
5656benchmark {
5757 configurations {
5858 getByName(" main" ) {
59- warmups = properties[" benchmark.warmups " ]?.takeIfNotBlank()?.toInt() ? : 5
60- iterations = properties[" benchmark.iterations " ]?.takeIfNotBlank()?.toInt() ? : 10
61- iterationTime = properties[" benchmark.iteration_time " ]?.takeIfNotBlank()?.toLong() ? : 1L
62- iterationTimeUnit = properties[" benchmark.iteration_time_unit " ]?.takeIfNotBlank() ? : " s"
59+ warmups = properties[" benchmark_warmups " ]?.takeIfNotBlank()?.toInt() ? : 5
60+ iterations = properties[" benchmark_iterations " ]?.takeIfNotBlank()?.toInt() ? : 10
61+ iterationTime = properties[" benchmark_iteration_time " ]?.takeIfNotBlank()?.toLong() ? : 1L
62+ iterationTimeUnit = properties[" benchmark_iteration_time_unit " ]?.takeIfNotBlank() ? : " s"
6363 param(" objectPath" , " $projectDir /data/openapi.json" )
6464 param(" schemaPath" , " $projectDir /data/schemas/openapi_schema.json" )
6565 }
You can’t perform that action at this time.
0 commit comments