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 563/week @ 2024-10-28 513/week @ 2024-11-04 275/week @ 2024-11-11 523/week @ 2024-11-18 373/week @ 2024-11-25 661/week @ 2024-12-02 522/week @ 2024-12-09 278/week @ 2024-12-16 151/week @ 2024-12-23 225/week @ 2024-12-30 607/week @ 2025-01-06 644/week @ 2025-01-13 425/week @ 2025-01-20 658/week @ 2025-01-27 872/week @ 2025-02-03 530/week @ 2025-02-10

2,496 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