News for hackers. Stuff that matters.
Re:Go 1.17 Release Notes by kouteiheika on Monday August 16, 2021 @11:23PM (#28205847)
> But allocation heap profiling is still something I struggle with.

Have you tried this one? https://github.com/koute/memory-profiler

Re:Go 1.17 Release Notes by nyanpasu64 on Tuesday August 17, 2021 @12:59AM (#28206375)
How does this one compare to Heaptrack (which is a CLI/GUI memory profiler that supports C++ and probably Rust as well)?
Re:Go 1.17 Release Notes by kouteiheika on Tuesday August 17, 2021 @03:11AM (#28207057)
There 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.
Re:Go 1.17 Release Notes by nyanpasu64 on Thursday August 19, 2021 @03:20PM (#28238117)
Hmm, 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`, 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.