-
Notifications
You must be signed in to change notification settings - Fork 0
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
iai benchmarks on PRs? #25
Labels
enhancement
New feature or request
Comments
4 tasks
danielparks
added a commit
that referenced
this issue
Jan 12, 2023
[iai] “benchmarks” functions by counting instructions, cache hits, and memory accesses. It also estimates cycles. It uses [`valgrind`], which officially doesn’t run on macOS (though there is a [port]), and `setarch`, a Linux-only command they use to disable address space layout randomization (ASLR). See [iai #25] for more information about running on macOS. This includes a Dockerfile and a docker.sh script to provide an environment to run `valgrind`. Note that iai hasn’t been updated since February 2021. Some folks are working on [calliper], but it doesn’t seem to be ready yet. [iai]: https://crates.io/crates/iai [`valgrind`]: https://valgrind.org [port]: https://github.com/LouisBrunner/valgrind-macos [iai #25]: bheisler/iai#25 [calliper]: https://crates.io/crates/calliper
Hey @danielparks, I've been working a continuous benchmarking tool to do just that, Bencher: https://github.com/bencherdev/bencher |
Interesting, thanks! I’ll keep an eye on that PR. |
@danielparks just to follow up here, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe it would be good to run iai benchmarks on each PR? I’m not quite sure how we would track and report results — maybe it would add a commit to the PR before it’s merged?
The text was updated successfully, but these errors were encountered: