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.13updated today

920

criterion.rsby bheisler

Statistics-driven benchmarking library

updated 6mo ago

5.5k

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 6mo ago

199

Divanby nvzqz

Simple yet powerful benchmarking library with allocation profiling

divan0.1.214.2m/90d updated 3mo ago

1.5k

rust-stopwatchby ellisonch

A stopwatch library

stopwatch0.0.730.3k/90d updated 3y ago

84

flameby llogiqFlameGraphs

An intrusive flamegraph profiling tool for rust

updated 2y ago

729

g3benchby bytedance

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

g3proxy-v1.12.4updated 2d ago

894

hotpathby pawurb

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

v0.28.7updated today

1.9k

hyperfineby sharkdp

A command-line benchmarking tool

hyperfine2.0.0133.3k/90d updated 8d ago

29.1k

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 Oct 21, 2026

© 2026 Crate Atlas

Esc

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