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

#24 in Profiling

Download history 334/week @ 2024-11-14 485/week @ 2024-11-21 602/week @ 2024-11-28 603/week @ 2024-12-05 291/week @ 2024-12-12 220/week @ 2024-12-19 162/week @ 2024-12-26 408/week @ 2025-01-02 685/week @ 2025-01-09 554/week @ 2025-01-16 323/week @ 2025-01-23 1027/week @ 2025-01-30 559/week @ 2025-02-06 597/week @ 2025-02-13 1307/week @ 2025-02-20 707/week @ 2025-02-27

3,346 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