Crates.io | samply |
lib.rs | samply |
version | 0.12.0 |
source | src |
created_at | 2022-07-17 23:04:06.920071 |
updated_at | 2024-04-16 00:22:02.118845 |
description | A command line profiler for macOS and Linux. |
homepage | |
repository | https://github.com/mstange/samply/ |
max_upload_size | |
id | 627405 |
size | 1,920,489 |
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.