samply
Sample and record CPU profiles for analysis. tldr-pages
On several platforms
Several platforms
Record a profile of a command and open it in the browser
samply record path/to/command arg1 arg2 ...IdentifyAdjust sampling rate
samply record --rate rate_in_hz path/to/command arg1 arg2 ...IdentifyRecord a profile to a file without opening the browser
samply record --save-only --output path/to/profile.json -- path/to/command arg1 arg2 ...IdentifyLoad a previously saved profile in the browser
samply load path/to/profile.jsonIdentify