pprof-rs VS pyroscope-rs

Compare pprof-rs vs pyroscope-rs and see what are their differences.

pprof-rs

A Rust CPU profiler implemented with the help of backtrace-rs (by tikv)

pyroscope-rs

Pyroscope Profiler for Rust. Profile your Rust applications. (by grafana)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pprof-rs pyroscope-rs
5 6
1,213 129
1.7% 5.4%
4.2 7.5
18 days ago 15 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of pprof-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-30.
  • Help with Rust Program performance
    2 projects | /r/rust | 30 Apr 2023
    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
    2 projects | /r/rust | 19 May 2022
    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?
    11 projects | /r/rust | 14 May 2022
    Have you looked into using pprof?
  • Pyroscope Profiler 0.5 released
    2 projects | /r/rust | 28 Apr 2022
    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
    3 projects | /r/rust | 15 Feb 2022
    The libunwind part is actually not related to overhead, this is just a nuance of the way that pprof-rs unwinds stack traces.

pyroscope-rs

Posts with mentions or reviews of pyroscope-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-01.
  • Show HN: Pyroscope-rs, a multi-language profiler built with Rust
    1 project | news.ycombinator.com | 9 Aug 2022
  • Ask HN: What Are You Working On? (August 2022)
    8 projects | news.ycombinator.com | 1 Aug 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
    10 projects | news.ycombinator.com | 27 Jul 2022
    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
    2 projects | /r/rust | 28 Apr 2022
    Version 0.5 is now live!: https://github.com/pyroscope-io/pyroscope-rs
  • What's everyone working on this week (17/2022)?
    9 projects | /r/rust | 25 Apr 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
    3 projects | /r/rust | 15 Feb 2022
    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).

What are some alternatives?

When comparing pprof-rs and pyroscope-rs you can also consider the following projects:

pyroscope - Continuous Profiling Platform. Debug performance issues down to a single line of code

weaver - API tool,but egui style and rusty

pyroscope - Continuous Profiling Platform. Debug performance issues down to a single line of code [Moved to: https://github.com/grafana/pyroscope]

trippy - A network diagnostic tool

pprof - pprof is a tool for visualization and analysis of profiling data

bazel-buildfarm - Bazel remote caching and execution service

bytehound - A memory profiler for Linux.

oxide - Teach your PostgreSQL database how to speak MongoDB Wire Protocol

heaptrack - A heap memory profiler for Linux

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]

samply - Command-line sampling profiler for macOS and Linux

DIIS-rs - Minimal Rust library for the Direct Inversion in the Iterative Subspace (DIIS) algorithm and its variants