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 7958907 commit 4f60686
Show file tree
Hide file tree
Showing 2 changed files with 6 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
5 changes: 5 additions & 0 deletions .github/workflows/bench_ec2_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ 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
required: false
default: "output.json"
verbose:
description: Determine for the log verbosity
type: boolean
Expand Down Expand Up @@ -150,6 +154,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 4f60686

Please sign in to comment.