pq-code-package / mlkem-native

High-assurance, high-performance ML-KEM implementation for mobile, pc, and server targets
https://pq-code-package.github.io/mlkem-native/dev/bench/
Apache License 2.0
11 stars 9 forks source link

CI: Benchmark opt and non-opt on the same EC2 instance #446

Closed hanno-becker closed 6 hours ago

hanno-becker commented 7 hours ago

Previously, we were spinning up separate instances for benchmarking optimized and non-optimized code. This is inefficient and incurs unnecessary cost for very large instances (e.g. metal).

This commit changes the benchmarking CI to benchmark optimized and non-optimized code on the same EC2 instance.