pprof-rs
puffin
pprof-rs | puffin | |
---|---|---|
5 | 4 | |
1,213 | 1,351 | |
1.7% | 1.3% | |
4.2 | 8.0 | |
17 days ago | about 1 month ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pprof-rs
-
Help with Rust Program performance
On top of others' specific recommendations, don't forget to profile! Tools like perf on Linux and pprof within Rust will tell you which functions are taking the most time.
-
CPU Profiling in WSL-ish setup
https://github.com/tikv/pprof-rs: Seems to work nicely per se, but I cant seem to find any useful information in the flamegraph for my setting. I see mostly functions in std::thread but cant find the time it costs to render stuff or to do the actual computations which should be the most time consuming things. Not sure whether this is necessarily something wrong with pprof-rs, maybe I'm just bad at finding stuff in the flamegraph svg or bevys ECS is making this hard.
-
Does rust have a visual analysis tool for memory and performance like pprof of golang?
Have you looked into using pprof?
-
Pyroscope Profiler 0.5 released
The library doesn't actually do any profiling (The profiler for Rust is pprof-rs: https://github.com/tikv/pprof-rs) but it's goal is to manage data returned by profilers (abstracted behind a Backend) and send this data to a Pyroscope Server (or exported to flamegraph, though this is being implemented in the commandline application).
-
Rust support for continuous profiling added in Pyroscope v0.10.2
The libunwind part is actually not related to overhead, this is just a nuance of the way that pprof-rs unwinds stack traces.
puffin
- Puffin: The friendly little instrumentation profiler for Rust
-
Does rust have a visual analysis tool for memory and performance like pprof of golang?
I have not personally used it, but have you seen Embark Studio’s Puffin? https://github.com/EmbarkStudios/puffin
-
What do you NOT like about Rust?
Can recommend puffin. Won't be as feature complete as the others, but it's implemented in Rust and seems to work quite well once it's setup.
-
Introducing puffin_egui: the simplest way to add an in-game profiler
The goal is for it to be the simplest way to add some instrumentation profiling to your game. Basically you use puffin to profile parts of your code and then show the resulting flamegraph with in an egui window.
What are some alternatives?
pyroscope - Continuous Profiling Platform. Debug performance issues down to a single line of code
bevy - A refreshingly simple data-driven game engine built in Rust
pyroscope - Continuous Profiling Platform. Debug performance issues down to a single line of code [Moved to: https://github.com/grafana/pyroscope]
rust-cpython - Rust <-> Python bindings
pprof - pprof is a tool for visualization and analysis of profiling data
MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
bytehound - A memory profiler for Linux.
bat - A cat(1) clone with wings.
pyroscope-rs - Pyroscope Profiler for Rust. Profile your Rust applications.
puffin_egui - Show puffin profiler flamegraph in-game using egui
heaptrack - A heap memory profiler for Linux
Ansible-NAS - Build a full-featured home server or NAS replacement with an Ubuntu box and this playbook.