ci: integrate callgrind benchmarks using iai-callgrind - #675
Conversation
|
CI shows nothing |
alejandro-vaz
left a comment
There was a problem hiding this comment.
it doesn't seem to be working properly
|
Fixed in 5cd5e5b. The I added a dedicated Verified on the same runner (fork Actions run): instruction counts are now non-zero, e.g. Note: the PR's own workflow is still sitting at the "Approve and run workflows" gate for fork PRs — could someone approve it so the callgrind check runs here too? |
|
does LTO have to be disabled in order for it to work?? |
|
No. I tested The actual requirement is just |
|
thanks for contributing |
This PR adds instruction-level benchmarks using
iai-callgrindand integrates them into CI to catch regressions deterministically:benches/callgrind.rstesting core vector operations (push,pop,insert/remove, slice conversions,drain,retain_mut,into_iter) across both inline and spilled heap storage.callgrindjob to.github/workflows/checks.ymlrunning the benchmarks on both default features and--all-features.