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 523/week @ 2024-10-29 457/week @ 2024-11-05 301/week @ 2024-11-12 532/week @ 2024-11-19 416/week @ 2024-11-26 610/week @ 2024-12-03 519/week @ 2024-12-10 272/week @ 2024-12-17 155/week @ 2024-12-24 210/week @ 2024-12-31 655/week @ 2025-01-07 655/week @ 2025-01-14 409/week @ 2025-01-21 809/week @ 2025-01-28 674/week @ 2025-02-04 662/week @ 2025-02-11

2,657 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–99MB
~1.5M SLoC