6 releases (breaking)

0.12.0 Apr 16, 2024
0.11.0 Jan 6, 2023
0.10.1 Dec 8, 2022
0.9.0 Jul 25, 2022
0.0.0 Jul 17, 2022

#59 in Profiling

Download history 603/week @ 2024-07-15 434/week @ 2024-07-22 602/week @ 2024-07-29 426/week @ 2024-08-05 395/week @ 2024-08-12 257/week @ 2024-08-19 238/week @ 2024-08-26 160/week @ 2024-09-02 488/week @ 2024-09-09 358/week @ 2024-09-16 465/week @ 2024-09-23 770/week @ 2024-09-30 454/week @ 2024-10-07 527/week @ 2024-10-14 544/week @ 2024-10-21 563/week @ 2024-10-28

2,093 downloads per month

MIT/Apache

2MB
59K SLoC

samply

samply is intended to become a command line CPU profiler for macOS, Linux and Windows.

At the moment, the macOS implementation works best. The Linux implementation is extremely new and experimental. There is no Windows implementation yet.

samply is a work in progress and not ready for public consumption, but you can give it a try if you'd like:

cargo install samply

samply record ./yourcommand args   # This profiles yourcommand and then opens the profile in a viewer.

# Alternatively:
samply record --save-only -o prof.json -- ./yourcommand args
samply load prof.json

# You can also import Linux perf profiles:
samply import perf.data

See the repo for more information.

This project was formerly known as perfrecord.

Dependencies

~32–46MB
~758K SLoC