6 releases (breaking)

new 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

#24 in Profiling

Download history 30/week @ 2023-12-22 17/week @ 2023-12-29 68/week @ 2024-01-05 127/week @ 2024-01-12 106/week @ 2024-01-19 105/week @ 2024-01-26 77/week @ 2024-02-02 50/week @ 2024-02-09 74/week @ 2024-02-16 108/week @ 2024-02-23 180/week @ 2024-03-01 220/week @ 2024-03-08 152/week @ 2024-03-15 105/week @ 2024-03-22 135/week @ 2024-03-29 169/week @ 2024-04-05

583 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–48MB
~796K SLoC