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 58
58
- name : Run benchmarks
59
59
run : >
60
60
./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
56
56
benchmark {
57
57
configurations {
58
58
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"
63
63
param(" objectPath" , " $projectDir /data/openapi.json" )
64
64
param(" schemaPath" , " $projectDir /data/schemas/openapi_schema.json" )
65
65
}
You can’t perform that action at this time.
0 commit comments