8 releases (5 breaking)

0.13.1 Feb 1, 2025
0.13.0 Feb 1, 2025
0.12.0 Apr 16, 2024
0.11.0 Jan 6, 2023
0.0.0 Jul 17, 2022

#19 in Profiling

Download history 535/week @ 2024-10-20 566/week @ 2024-10-27 521/week @ 2024-11-03 280/week @ 2024-11-10 505/week @ 2024-11-17 377/week @ 2024-11-24 659/week @ 2024-12-01 517/week @ 2024-12-08 279/week @ 2024-12-15 165/week @ 2024-12-22 221/week @ 2024-12-29 609/week @ 2025-01-05 648/week @ 2025-01-12 413/week @ 2025-01-19 567/week @ 2025-01-26 953/week @ 2025-02-02

2,588 downloads per month

MIT/Apache

1.5MB
28K SLoC

samply

samply is a command line CPU profiler which uses the Firefox profiler as its UI.

samply works on macOS, Linux, and Windows.

In order to profile the execution of ./my-application, prepend samply record to the command invocation:

samply record ./my-application my-arguments

On Linux, samply uses perf events. You can grant temporary access by running:

echo '1' | sudo tee /proc/sys/kernel/perf_event_paranoid

Visit the git repository for more information.

Dependencies

~54–100MB
~1.5M SLoC