mstange/samply
Command-line sampling profiler for macOS, Linux, and Windows observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2291
- days_rel: 578
- days_push: 9
- n_releases_24m: 1
Adoption not part of the score
4392 stars · 102 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Samply is a command-line sampling CPU profiler for macOS, Linux, and Windows that records profiles of arbitrary commands and displays them in the Firefox profiler UI. It collects per-thread stack traces at high frequency (default 1000Hz) and serves symbol and source information via a local webserver.
Use cases
- profile a command-line application's CPU usage
- generate flame graphs for a program
- find which functions consume the most time in my code
- sample stack traces per thread at 1000Hz
- view a CPU profile in the Firefox profiler
- profile off-cpu time waiting on locks on macOS or Windows
- record a shareable performance profile of a build tool
When to choose
- you want a zero-config CLI profiler that works across macOS, Linux, and Windows
- you prefer the Firefox profiler UI with flame graphs, timelines, and source views
- you need high-frequency sampling with per-thread stack traces
- you want profiles kept local with optional sharing via upload
When to avoid
- you need continuous production monitoring or always-on profiling
- you need off-CPU analysis on Linux, which samply does not yet support
- you prefer integrated IDE profilers or tools like perf's own reporting UI
Facets
cli-tool · maturity active
benchmarking monitoring cli developer-tools developer-tools performance windows cli rust cpu-profiler sampling-profiler flame-graph firefox-profiler profiling command-line macos linux
2 sources
- readme: https://github.com/mstange/samply · fetched 2026-08-28 · 5895616f4fb3
- registry_crates: https://crates.io/api/v1/crates/samply · fetched 2026-08-29 · 20e8116d5488
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mstange/samply | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem