samply

CPU and memory sampling profiler for detailed performance analysis

brewmacoslinux
Try with needOr install directly
Source

About

CLI sampling profiler

Commands

samply

Examples

Profile a command and generate an interactive HTML report$ samply record ./my_program
Profile a running process by PID with custom duration$ samply record -p 12345 -- sleep 10
Profile a Rust binary and open the results in browser$ samply record cargo run --release