SaaSHub helps you find the best software and product alternatives Learn more →
Samply Alternatives
Similar projects and alternatives to samply
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
flamegraph
Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)
-
parca-agent
eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
-
rust-flappy-bird-ai
AI learns to play flappy bird using neuro-evolution, implemented in Rust using macroquad
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
samply reviews and mentions
- Samply: Command-line sampling profiler for macOS and Linux
- samply: Command line CPU profiler which uses the Firefox profiler as its UI
-
Help with Rust Program performance
Regarding profilers, I really like samply. It doesn't require to modify source code, runs on Linux and macOS and automatically loads profiling data into Firefox Profiler UI.
-
AI learns to play flappy bird (code in comments)
I grabbed a quick profile using samply and noticed two things: Even in fast mode, the simulation only updates when the screen is redrawn, so its update frequency is limited by the refresh rate. And the simulation seems to mostly be bottle-necked by Vec reallocation, so re-using Vecs might help.
-
Firefox Profiler
I ran across this when I found samply [0], a CLI sampling profiler. On samply's GitHub there's a link to a sample profile that opens in the Firefox Profiler and I was in awe at just how fast it is! Try dragging your mouse over the timeline for a second: https://share.firefox.dev/3j3PJoK
0: https://github.com/mstange/samply
-
Frame pointers vs. DWARF – my verdict
IMHO, perf's decision to write whole stacks directly to the disk and unwinding them as a post-process is a really bad design. It wastes disk space, and as the author pointed out, it also has a lot of IO overhead.
As an alternative approach, https://github.com/mstange/samply processes data streamed from perf and unwinds it in realtime. The unwinding overhead is surprisingly low: it only takes around 1% of (single) CPU per CPU profiled. Solving the disk waste alone has been a tremendous improvement of profiling experience. As a bonus, the unwinding and symbolization works reliably while I frequently had postprocessing not terminating when using the perf CLI directly.
-
Data-driven performance optimization with Rust and Miri
samply supports showing inline frames in call stacks. I find this makes a huge difference when profiling Rust.
- Samply: A work in progress of a command-line profiler for macOS and Linux
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 May 2024
Stats
mstange/samply is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of samply is Rust.
Sponsored