pprof-rs
pyroscope
pprof-rs | pyroscope | |
---|---|---|
5 | 56 | |
1,213 | 7,382 | |
1.7% | - | |
4.2 | 9.6 | |
18 days ago | about 1 year ago | |
Rust | Go | |
Apache License 2.0 | GNU Affero General Public License v3.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.
pyroscope
- Grafana Phlare, open source database for continuous profiling at scale
-
The pros and cons of eBPF profiling in K8s
What do you mean? pyroscope.io was slow for you? or the blog?
- Go garbage collector doesn't release memory
- Pyroscope - Continuous profiling platform
-
Ask HN: What are some 'cool' but obscure data structures you know about?
Tries (or prefix trees).
We use them a lot at Pyroscope for compressing strings that have common prefixes. They are also used in databases (e.g indexes in Mongo) or file formats (e.g debug symbols in macOS/iOS Mach-O format are compressed using tries).
We have an article with some animations that go into details about tries in case anyone's interested [0].
[0] https://github.com/pyroscope-io/pyroscope/blob/main/docs/sto...
- How to add dynamic tags/labels to Java profiles (example)
-
Question: How do you handle oversized heap analysis?
You could use continuous profiling with Pyroscope which uses async-profiler under the hood, but with the added functionality that you can add relevant tags to your VMs (example).
-
JFR (Java Flight Recorder) Parser written in Go
Java Flight Recorder (JFR) is a format for collecting diagnostic and profiling data from Java applications. A while back someone created an issue for Pyroscope , an open source continuous profiler written in Go, to support ingesting profiles in JFR format, but there were no existing parsers that were also written in Go.
-
flamegraph.com - a new website for uploading, analyzing, and sharing pprof profiles
This cloud version is actually a slimmed-down version of Pyroscope which is open source and so you can run it locally.
-
We created flamegraph.com - A website for uploading, analyzing, and sharing flamegraphs
At Pyroscope (open source continuous profiling) we use flamegraphs extensively to visualize and analyze profiling data. However, one of the worst parts about using flamegraphs for analysis is that they are kind of annoying to share.
What are some alternatives?
pyroscope - Continuous Profiling Platform. Debug performance issues down to a single line of code
parca - Continuous profiling for analysis of CPU and memory usage, down to the line number and throughout time. Saving infrastructure cost, improving performance, and increasing reliability.
pprof - pprof is a tool for visualization and analysis of profiling data
profefe - Continuous profiling for long-term postmortem analysis
bytehound - A memory profiler for Linux.
barrier - Open-source KVM software
pyroscope-rs - Pyroscope Profiler for Rust. Profile your Rust applications.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
heaptrack - A heap memory profiler for Linux
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
samply - Command-line sampling profiler for macOS and Linux
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.