A simple Rust profiler that shows exactly why your code is slow

Performance profiling for developers and coding agents. Profile CPU, memory allocations, async tasks, SQL queries, I/O, and lock contention in one place. Explore performance metrics in a live TUI, or export to Prometheus and Grafana when you need production monitoring.

hotpath-rs Rust profiling mascot Ferris the crab

Copies a setup prompt for your coding agent.

Or try the live demo:

Used by 225 open-source projects, including:

Already using Criterion.rs?

Add CPU and allocation profiling to existing benchmarks with minimal changes.

Explore Criterion integration →

Catch performance regressions in CI

Compare benchmark results across pull requests with hotpath-cloud.

Explore hotpath-cloud →

hotpath-rs helps you distinguish between functions that are slow because they wait on I/O and those that are CPU-intensive. Instrument functions, channels, futures, streams, SQL queries, HTTP calls, and byte-level I/O to find bottlenecks and focus optimizations where they matter most. Get actionable insights into time, memory, and async data flow with minimal setup. For noise-free CI benchmarks, it can also count executed CPU instructions with Callgrind instead of measuring wall-clock time.

You can use it to produce one-off performance (timing, memory or CPU) reports:

hotpath-rs memory allocation profiling report showing per-function byte counts

correlate all performance signals in Grafana with minimal profiling overhead:

Grafana dashboard built on hotpath-rs Prometheus metrics showing slowest SQL queries, per-function allocations and requests by route

catch performance regressions on every pull request with a simple CI integration:

hotpath-cloud pull request comment showing wall time, allocation and RSS changes against the main branch

inspect throughput and latency of network, file or compression I/O streams:

hotpath-rs I/O profiling report showing per-stream read counts, bytes, transfer rate, average and P95 latency

analyze SQL/HTTP calls performance with automatic source function attribution:

hotpath-rs SQL query profiling report showing per-query call counts, source function attribution, average and P95 execution time

monitor throughput, performance and max queue depth of instrumented channels:

hotpath-rs channel profiling report showing throughput, send-to-receive latency and max queue depth per channel

or use the live TUI dashboard to monitor real-time performance and async data flow metrics with debug info:

Features

Get started →