File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ metrics used.
2424- [ Criterion] and [ Divan] are more sophisticated alternatives.
2525- [ Hyperfine] is an excellent general-purpose benchmarking tool.
2626- [ Bencher] can do continuous benchmarking on CI, including GitHub CI.
27+ - [ Gungraun] provides ` cargo bench ` integration with high-precision
28+ measurements.
2729- Custom benchmarking harnesses are also possible. For example, [ rustc-perf] is
2830 the harness used to benchmark the Rust compiler.
2931
@@ -32,6 +34,7 @@ metrics used.
3234[ Divan ] : https://github.com/nvzqz/divan
3335[ Hyperfine ] : https://github.com/sharkdp/hyperfine
3436[ Bencher ] : https://github.com/bencherdev/bencher
37+ [ Gungraun ] : https://github.com/gungraun/gungraun
3538[ rustc-perf ] : https://github.com/rust-lang/rustc-perf/
3639
3740When it comes to metrics, there are many choices, and the right one(s) will
Original file line number Diff line number Diff line change @@ -31,9 +31,6 @@ used successfully on Rust programs.
3131 Unixes. [ dhat-rs] is an experimental alternative that is a little less
3232 powerful and requires minor changes to your Rust program, but works on all
3333 platforms.
34- - [ Iai-Callgrind] provides ` cargo bench ` integration for the [ Valgrind] -based
35- profilers: Cachegrind, Callgrind,
36- DHAT, and others. It works on Linux and some other Unixes.
3734- [ heaptrack] and [ bytehound] are heap profiling tools. They work on Linux.
3835- [ ` counts ` ] supports ad hoc profiling, which combines the use of ` eprintln! `
3936 statement with frequency-based post-processing, which is good for getting
@@ -51,7 +48,6 @@ used successfully on Rust programs.
5148[ flamegraph ] : https://github.com/flamegraph-rs/flamegraph
5249[ Cachegrind ] : https://www.valgrind.org/docs/manual/cg-manual.html
5350[ Callgrind ] : https://www.valgrind.org/docs/manual/cl-manual.html
54- [ Iai-Callgrind ] : https://github.com/iai-callgrind/iai-callgrind
5551[ DHAT ] : https://www.valgrind.org/docs/manual/dh-manual.html
5652[ dhat-rs ] : https://github.com/nnethercote/dhat-rs/
5753[ Valgrind ] : https://valgrind.org/
You can’t perform that action at this time.
0 commit comments