poop 💩

last updated: Aug 22, 2025

https://github.com/andrewrk/poop

Andrew Kelley's performance measurement tool, which outputs more data than hyperfine.

Unfortunately linux only as it relies on perf, however there is a fork which adds mac support. Andrew will not be accepting mac support for the tool.

(previously mentioned in the link blog)

building the mac fork

I tried and failed to build the mac fork with:

git clone https://github.com/verte-zerg/poop verte-zerg-poop
cd verte-zerg-poop
git switch kperf-macos
# make sure you have (at the time of this writing) zig 0.14.1
zig build --release=fast
cp zig-out/bin/poop ~/.local/bin/ # or wherever you want

Then you need to run poop as sudo otherwise you will get error: GetKpcAllCounters, and it works great! I like its output much better than hyperfine (which is still great).

Thank you very much to Louis for the email letting me know that!

info about the fork via this article about zig profiling tools on mac via news.yc

↑ up