Closed paleolimbot closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.74%. Comparing base (
5756b76
) to head (a0363c3
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I imagine there are a few ways to go about this, but I found moving the benchmarks to their own subdirectory and using
FetchContent
to build against various versions/source checkouts to be an intuitive way to do this. This also nicely separates benchmark-related CMake from non-benchmark related CMake and provides a nice way to benchmark locally against a few previous versions (via build presets). If we add more benchmarks in the future (or discover a flaw in an existing benchmark), it also provides a nice way to retrospectively run them against previous releases.I've added a more verbose description of the setup to the benchmarks README, but the general idea is:
FetchContent
. This means that the only action needed on release to update the report is to add a configure preset.benchmark-run-all.sh
effectively reuses build directories for minimal rebuilding during benchmark development.Example report in details below: