nvzqz / divan

Fast and simple benchmarking for Rust projects
https://nikolaivazquez.com/blog/divan/
Apache License 2.0
849 stars 24 forks source link

Add support for optional callgrind / cachegrind integration #49

Open TheLostLambda opened 3 months ago

TheLostLambda commented 3 months ago

I'm not sure if this one falls in scope, but it would be lovely to get the kinds of results you get from https://github.com/iai-callgrind/iai-callgrind (a maintained fork of the original iai), but with divans nice interface / register-anywhere system!

Using these main! macros and listing all of the test function names there really feels primitive after being spoiled by divan!

gibbz00 commented 3 months ago

Pretty good context as to why time vs cpu instruction count measurements matter: https://youtu.be/qfknfCsICUM?t=1229 😊