mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-29 17:34:58 +03:00
308 B
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'