5 ms·
> But allocation heap profiling is still something I struggle with. Have you tried this one? https://github.com/koute/memory-profiler https://github.com/koute/
by kouteiheika 5y ago
> But allocation heap profiling is still something I struggle with.
Have you tried this one? https://github.com/koute/memory-profiler https://github.com/koute/memory-profiler
- nyanpasu64 5y agoHow does this one compare to Heaptrack (which is a CLI/GUI memory profiler that supports C++ and probably Rust as well)?
- kouteiheika 5y agoThere are many differences, but the main ones are that it has less overhead when profiling, more thorough analysis features (Heaptrack's GUI is relatively simple compared to it), and the next version will have scripting capabilities for analysis.
- nyanpasu64 5y agoHmm, took a look (it's called Bytehound now), it has no PKGBUILD nor a `cargo install` crate so I can't install it in systemwide or user PATH, and requires Yarn to download and build JS dependencies (likely hundreds or thousands). I tried `cargo install --git https://github.com/koute/bytehound.git https://github.com/koute/bytehound.git`, but that results in "error: multiple packages with binaries found: bytehound-cli, bytehound-gather, interrupt, linking, lz4-compress, simulation". For the time being I'll stick with heaptrack.