Run cargo-flamegraph with debug symbols

html_output
Wilfred Hughes 2022-02-06 14:39:55 +07:00
parent d81b774621
commit 80ed279bb5
1 changed files with 1 additions and 1 deletions

@ -86,7 +86,7 @@ If you have a file that's particularly slow, you can use
which functions are slow.
```
$ cargo flamegraph --bin difft sample_files/slow_before.rs sample_files/slow_after.rs
$ CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph --bin difft sample_files/slow_before.rs sample_files/slow_after.rs
```
It's also worth looking at memory usage, as graph traversal bugs can