samply

Crates.iosamply
lib.rssamply
version0.12.0
sourcesrc
created_at2022-07-17 23:04:06.920071
updated_at2024-04-16 00:22:02.118845
descriptionA command line profiler for macOS and Linux.
homepage
repositoryhttps://github.com/mstange/samply/
max_upload_size
id627405
size1,920,489
Markus Stange (mstange)

documentation

README

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.

Commit count: 2021

cargo fmt