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

#70 in Profiling

Download history 940/week @ 2025-10-31 1037/week @ 2025-11-07 782/week @ 2025-11-14 618/week @ 2025-11-21 694/week @ 2025-11-28 1055/week @ 2025-12-05 921/week @ 2025-12-12 408/week @ 2025-12-19 269/week @ 2025-12-26 684/week @ 2026-01-02 981/week @ 2026-01-09 1041/week @ 2026-01-16 1320/week @ 2026-01-23 1291/week @ 2026-01-30 1356/week @ 2026-02-06 1343/week @ 2026-02-13

5,485 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

~58–110MB
~2M SLoC