pyroscope-rs
pyroscope
pyroscope-rs | pyroscope | |
---|---|---|
6 | 56 | |
129 | 7,382 | |
5.4% | - | |
7.5 | 9.6 | |
19 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.
pyroscope-rs
- Show HN: Pyroscope-rs, a multi-language profiler built with Rust
-
Ask HN: What Are You Working On? (August 2022)
A general purpose profiler: https://github.com/pyroscope-io/pyroscope-rs
If someone is interested in this space, feel free to reach me!
-
Rust Is Portable
I feel some of the OP points. I was working on a profiling agent lately, and one of the issues was running it on multiple platforms (just the four big ones linux/mac-x86/arm) on FFI (because it'll be run directly from python/ruby/etc...) and preferably having the thing just work without having to install or configure any dependencies.
Like OP I hit two walls: libunwind, and linking. For libunwind, I ended up downloading/compiling manually; and for linking there is auditwheel[1]. Although it is a Python tool, I did actually end up using for Ruby (by creating a "fake python package", and then copying the linked dependencies).
It was at that time that I learned about linking for dynamic libraries, patchelf and there is really no single/established tool to do this. I thought there should be something but most people seem to install the dependencies with any certain software. I also found, the hard way, that you still have to deal with gcc/c when working with Rust. It does isolate you from many stuff, but for many things there is no work around.
There is a performance hit to this strategy, however, since shared dynamic libraries will be used by all the running programs that need them; whereas my solution will run its own instance. It made me wonder if wasm will come up with something similar without affecting portability.
Finally, the project is open source and you can browse the code here: https://github.com/pyroscope-io/pyroscope-rs
[1]: https://github.com/pypa/auditwheel
-
Pyroscope Profiler 0.5 released
Version 0.5 is now live!: https://github.com/pyroscope-io/pyroscope-rs
-
What's everyone working on this week (17/2022)?
Working on https://github.com/pyroscope-io/pyroscope-rs A profiling solution for Rust and other languages.
-
Rust support for continuous profiling added in Pyroscope v0.10.2
Thanks to the maintainers at pprof-rs for helping us figure out how we can modify their profiler to create our rust agent (https://github.com/pyroscope-io/pyroscope-rs).
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?
pprof-rs - A Rust CPU profiler implemented with the help of backtrace-rs
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.
weaver - API tool,but egui style and rusty
profefe - Continuous profiling for long-term postmortem analysis
trippy - A network diagnostic tool
barrier - Open-source KVM software
bazel-buildfarm - Bazel remote caching and execution service
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.
oxide - Teach your PostgreSQL database how to speak MongoDB Wire Protocol
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
reframe - LeapTable 🦘- The fastest way to build, deploy, and manage LLM-powered agents on tabular data (dataframes, SQL tables and Spreadsheets). [Moved to: https://github.com/peterwnjenga/leaptable]
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.