Blog post: (I want) A Better Rust Profiler

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • iai

    Experimental one-shot benchmarking/profiling harness for Rust

  • In the mean time maybe https://github.com/bheisler/iai could be of help

  • firestorm

    A fast intrusive flamegraph

  • 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.

  • 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.

    InfluxDB logo
  • tree-buf

    An experimental serialization system written in Rust

  • 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.

  • self-driving-car

    A bot that loses at Rocket League (by whatisaphone)

  • Example: https://github.com/whatisaphone/self-driving-car#profiling

  • hotspot

    The Linux perf GUI for performance analysis.

  • 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.

  • flamegraph

    Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)

  • dhat-rs

    Heap profiling and ad hoc profiling for Rust programs.

  • 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.

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts