Skip to content

Commit

Permalink
CI: Push benchmark results of ad-hoc benchmarks to dedicated JSON
Browse files Browse the repository at this point in the history
This commit modifies the manually triggered benchmarking workflow
`bench_ec2_any.yml` to push the benchmarking results in a special
file `adhoc_bench.json`.

Signed-off-by: Hanno Becker <[email protected]>
  • Loading branch information
hanno-becker committed Nov 16, 2024
1 parent 47846f1 commit fb88e02
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bench_ec2_any.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ jobs:
bench_extra_args: ${{ inputs.bench_extra_args }}
compiler: ${{ inputs.compiler }}
additional_packages: ${{ inputs.additional_packages }}
json_filename: adhoc_bench.json
secrets: inherit
6 changes: 6 additions & 0 deletions .github/workflows/bench_ec2_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ on:
type: boolean
description: Indicates if results should be pushed to github pages
default: false
json_filename:
description: Name of JSON file to put benchmark resuits into
type: string
required: false
default: "output.json"
verbose:
description: Determine for the log verbosity
type: boolean
Expand Down Expand Up @@ -158,6 +163,7 @@ jobs:
nix-cache: false
nix-verbose: ${{ inputs.verbose }}
name: ${{ inputs.name }} (${{ inputs.compiler }})
json_filename: ${{ inputs.json_filename }}
cflags: ${{ inputs.cflags }}
archflags: ${{ inputs.archflags }}
opt: ${{ inputs.opt }}
Expand Down

0 comments on commit fb88e02

Please sign in to comment.