Skip to content

Instantly share code, notes, and snippets.

View JOE1994's full-sized avatar

Youngsuk Kim JOE1994

View GitHub Profile
@JOE1994
JOE1994 / Profile Rust on Linux.md
Created January 8, 2020 00:06 — forked from KodrAus/Profile Rust on Linux.md
Profiling Rust Applications

Profiling performance

Using perf:

$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg

NOTE: See @GabrielMajeri's comments below about the -g option.