Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Push non-opt benchmarks to GH pages #415

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

hanno-becker
Copy link
Contributor

@hanno-becker hanno-becker commented Nov 16, 2024

Until now, we only pushed benchmarks for optimized code to the github pages. That was the wrong decision, as we are now curious to understand (a) where mlkem-native's pure-C performance stands in comparison to the reference implementation, and (b) how it has evolved over time, esp. in light of restructurings we made for the CBMC proofs.

Ultimately, we should retroactively conduct & push non-opt benchmarks. For now, this commit merely enables pushing benchmarking results to GH pages for non-optimized code.

Care needs to be taken to not mess up with existing optimized benchmarks by changing their name. Thus, we keep the previous names (which matched the target name, e.g. "Graviton 3"), but append " (no-opt)" in case we benchmarked the C backend.

@hanno-becker hanno-becker added the benchmark this PR should be benchmarked in CI label Nov 16, 2024
@hanno-becker hanno-becker marked this pull request as draft November 16, 2024 19:39
@hanno-becker hanno-becker force-pushed the triggerable_bench_action_fix branch from fb88e02 to f2cf9c8 Compare November 16, 2024 19:42
@hanno-becker hanno-becker marked this pull request as ready for review November 16, 2024 19:43
@hanno-becker hanno-becker force-pushed the triggerable_bench_action_fix branch from f2cf9c8 to 7622938 Compare November 16, 2024 20:07
The manually triggered benchmarking workflow in `bench_ec2_any.yml`
does not have sufficient permissions to call the underlying workhorse
`bench_ec2_reusable.yml`. This commit fixes that.

Signed-off-by: Hanno Becker <[email protected]>
Until now, we only pushed benchmarks for optimized code to the
github pages. That was the wrong decision, as we are now curious
to understand (a) where mlkem-native's pure-C performance stands
in comparison to the reference implementation, and (b) how it has
evolved over time, esp. in light of restructurings we made for the
CBMC proofs.

Ultimately, we should retroactively conduct & push non-opt benchmarks.
For now, this commit merely enables pushing benchmarking results to
GH pages for non-optimized code.

Care needs to be taken to not mess up with existing optimized benchmarks
by changing their name. Thus, we keep the previous names (which matched
the target name, e.g. "Graviton 3"), but append " (no-opt)" in case we
benchmarked the C backend.

Signed-off-by: Hanno Becker <[email protected]>
@hanno-becker hanno-becker force-pushed the triggerable_bench_action_fix branch from 7622938 to 602ebfc Compare November 17, 2024 05:06
@mkannwischer mkannwischer merged commit 0ef0f8e into main Nov 17, 2024
34 checks passed
@mkannwischer mkannwischer deleted the triggerable_bench_action_fix branch November 17, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark this PR should be benchmarked in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload non-opt benchmarks
2 participants