Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
flamegraph
Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
In the mean time maybe https://github.com/bheisler/iai could be of help
Now might be a good time to introduce a flamegraph profiling tool I've been working on. It's called `firestorm` and it's available on GitHub and crates.io.
First, it's extremely low overhead. I created it for TreeBuf after finding that the existing intrusive profilers available were introducing so much overhead and noise into the result as to make the output flamegraphs meaningless. When you're working on code that is supposed to be the fastest in it's class, you need a profiler with the same ideals.
Example: https://github.com/whatisaphone/self-driving-car#profiling
There's a GUI for perf called hotspot, and it's really good. https://github.com/KDAB/hotspot I use it for Rust often, and I'm quite pleased with it.
https://github.com/nnethercote/dhat-rs is a bit like this, albeit for heap allocation profiling. But it's experimental and I'm not really maintaining it right now.