Profiling

10 projects

Rust benchmarking tools work at two levels. hyperfine benchmarks whole commands from the shell, running them repeatedly with warmup and reporting mean, spread and outliers, which is the quickest way to compare two binaries or flags. For functions inside your code, Criterion.rs runs statistically rigorous microbenchmarks on stable Rust and reports whether a change is a real regression or noise.

Divan is a newer benchmarking library with a simpler attribute-based API and support for measuring allocations. Bencher tracks benchmark results across commits in CI, so regressions are caught in pull requests rather than after release. Divan also lets one benchmark run over several types or input sizes, and can run it on multiple threads to measure contention, which is awkward to set up in Criterion.

For profiling, Bytehound records every allocation and shows where memory is used and leaked. hotpath instruments functions to show where time is spent, and flame produces flame graphs from manual instrumentation. For sampling CPU profiles, cargo-flamegraph and the system profilers perf, Instruments and samply work well with Rust as long as you keep debug symbols in release builds.

Bencherby bencherdev

A suite of continuous benchmarking tools designed to catch performance regressions in CI

v0.6.19updated 1d ago

938

criterion.rsby bheisler

Statistics-driven benchmarking library

updated 7mo ago

5.6k

Bytehoundby koute

A memory profiler for Linux

0.11.0Cupdated 3y ago

4.8k

hudby cong-or

Find what's blocking your Tokio runtime. Zero-instrumentation eBPF profiler.

v0.5.3updated 24d ago

198

Divanby nvzqz

Simple yet powerful benchmarking library with allocation profiling

divan0.1.214.9m/90d updated 4mo ago

1.5k

rust-stopwatchby ellisonch

A stopwatch library

stopwatch0.0.731k/90d updated 4y ago

84

flameby llogiqFlameGraphs

An intrusive flamegraph profiling tool for rust

updated 2y ago

728

g3benchby bytedance

A benchmark tool that supports HTTP 1.x, HTTP 2, HTTP 3, TLS Handshake, DNS and Cloudflare Keyless

g3proxy-v1.12.4updated 5d ago

896

hotpathby pawurb

A simple profiler that shows exactly where your code spends time and allocates

v0.33.2updated 2d ago

1.9k

hyperfineby sharkdp

A command-line benchmarking tool

hyperfine2.0.0120.9k/90d updated 1mo ago

29.5k

Built on the open rust-unofficial/awesome-rust list by its contributors, licensed CC0 1.0. Crate Atlas is an independent project, not affiliated with the list's maintainers.

About Synced Dec 4, 2026

© 2026 Crate Atlas

Esc

Type to search every entry. ↑↓ to move, Enter to open.