-
Notifications
You must be signed in to change notification settings - Fork 2
Profiling
Vincent Ollivier edited this page Nov 1, 2017
·
6 revisions
$ cargo test --no-run
$ perf record -g ./target/debug/littlewing
$ perf script | stackcollapse-perf | rust-unmangle | flamegraph > flame.svg
Add the following to Cargo.toml
:
[profile.release]
debug = true
Then:
$ cargo build --release
$ perf record -g ./target/release/littlewing
$ perf report
Use a
in perft report
to see the annotated source.