abstreet/docs/design/notes/profiling.md
2019-02-18 14:38:57 -08:00

308 B

Profiling

apt-get install google-perftools libgoogle-perftools-dev

Follow Usage from https://crates.io/crates/cpuprofiler

Run editor with --enable_profiler google-pprof --web ../target/debug/editor profile google-pprof --web ../target/release/headless profile

Or run without --web and do 'top30 --cum'