Running benchmark #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Running benchmark" | |
on: | |
workflow_dispatch: | |
inputs: | |
warmups: | |
description: 'number of warmups run before the actual benchmark' | |
type: number | |
default: 5 | |
required: false | |
iterations: | |
description: 'number of iterations in the benchmark' | |
type: number | |
default: 3 | |
required: false | |
iteration-time: | |
description: 'duration of individual integration in benchmark' | |
type: number | |
default: 1 | |
required: false | |
iteration-time-unit: | |
description: 'timeunit for iteration-time parameter' | |
default: 's' | |
type: string | |
required: false | |
schedule: | |
- cron: "0 2 * * 1" | |
jobs: | |
check-linux: | |
uses: ./.github/workflows/platform-benchmark.yml | |
with: | |
run-on: ubuntu-latest | |
warmups: ${{ inputs.warmups }} | |
iterations: ${{ inputs.iterations }} | |
iteration-time: ${{ inputs.iteration-time }} | |
iteration-time-unit: ${{ inputs.iteration-time-unit }} | |
check-macos: | |
uses: ./.github/workflows/platform-benchmark.yml | |
with: | |
run-on: macos-latest | |
additional-task: "-x :benchmark:jvmBenchmark" | |
warmups: ${{ inputs.warmups }} | |
iterations: ${{ inputs.iterations }} | |
iteration-time: ${{ inputs.iteration-time }} | |
iteration-time-unit: ${{ inputs.iteration-time-unit }} | |
check-windows: | |
uses: ./.github/workflows/platform-benchmark.yml | |
with: | |
run-on: windows-latest | |
additional-task: "-x :benchmark:jvmBenchmark" | |
warmups: ${{ inputs.warmups }} | |
iterations: ${{ inputs.iterations }} | |
iteration-time: ${{ inputs.iteration-time }} | |
iteration-time-unit: ${{ inputs.iteration-time-unit }} |