dhat-rs
Heap profiling and ad hoc profiling for Rust programs. (by nnethercote)
tree-buf
An experimental serialization system written in Rust (by That3Percent)
Our great sponsors
dhat-rs | tree-buf | |
---|---|---|
7 | 3 | |
677 | 252 | |
- | - | |
4.9 | 0.0 | |
2 months ago | about 1 year ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
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.
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.
dhat-rs
Posts with mentions or reviews of dhat-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-03.
-
how expensive is an operation?
dhat for heap profiling
-
Debugging and profiling embedded applications.
You could wrap the global allocator similar to dhat to instrument heap allocations. dhat itself depends on std.
-
How to get a runtime size of a variable or struct that has btreemaps and hashmaps
I'm no expert in this, but I think you'll want something like https://github.com/nnethercote/dhat-rs
-
RFC on new API for `dhat` heap profiling crate
I am requesting comment on a new design for my dhat-rs profiling crate at https://github.com/nnethercote/dhat-rs/issues/17.
-
Blog post: (I want) A Better Rust Profiler
https://github.com/nnethercote/dhat-rs is a bit like this, albeit for heap allocation profiling. But it's experimental and I'm not really maintaining it right now.
-
How to find a memory leak in a Rust program?
https://github.com/nnethercote/dhat-rs is an incredibly useful tool, but to slow to run in production.
tree-buf
Posts with mentions or reviews of tree-buf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-11.
-
rkyv is faster than {bincode, capnp, cbor, flatbuffers, postcard, prost, serde_json}
I think this is great. Could you add tree-buf as well to your benchmarks?
-
Introducing the Firestorm profiler
I should probably write some examples. If you need some right now you can see instrumenting in https://github.com/That3Percent/tree-buf and profiling in https://github.com/That3Percent/tree-buf-benches. Those haven't been updated to use the latest version of Firestorm yet though.
-
Blog post: (I want) A Better Rust Profiler
First, it's extremely low overhead. I created it for TreeBuf after finding that the existing intrusive profilers available were introducing so much overhead and noise into the result as to make the output flamegraphs meaningless. When you're working on code that is supposed to be the fastest in it's class, you need a profiler with the same ideals.
What are some alternatives?
When comparing dhat-rs and tree-buf you can also consider the following projects:
heaptrack - A heap memory profiler for Linux
rkyv - Zero-copy deserialization framework for Rust
flamegraph - Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
bytecheck - Memory validation framework for Rust
hotspot - The Linux perf GUI for performance analysis.
tracy - Frame profiler
memory-profiler - A memory profiler for Linux. [Moved to: https://github.com/koute/bytehound]
rust-serialization-benchmarks
itm - ARMv7-M ITM packet protocol decoder library crate and CLI tool.
iai - Experimental one-shot benchmarking/profiling harness for Rust
firestorm - A fast intrusive flamegraph