This PR is for discussion, not sure if it fits into your vision.
My use case: I would like to keep track of allocated memory for data structures and plot them in criterion (eventually).
I wasn't able to find a way to track it via Valgrind so I took crates from rust-analyzer (profile and arena) and added a single one-liner to output memory in bytes as part of the summary.
@bheisler What are your thoughts on that direction? the rust-analyzer team put a bit of effort into this profiling crate, do you think it's worth re-using it?
Original article
This PR is for discussion, not sure if it fits into your vision. My use case: I would like to keep track of allocated memory for data structures and plot them in criterion (eventually). I wasn't able to find a way to track it via Valgrind so I took crates from rust-analyzer (profile and arena) and added a single one-liner to output memory in bytes as part of the summary. @bheisler What are your thoughts on that direction? the rust-analyzer team put a bit of effort into this profiling crate, do you think it's worth re-using it? Original article