3 ms·
yes, that's what I use, just wonder if there are alternatives. I am not sure how valgrind compares to it or the goref tool mentioned above, just asking around,
by defraudbah 1y ago
yes, that's what I use, just wonder if there are alternatives. I am not sure how valgrind compares to it or the goref tool mentioned above, just asking around, does not hurt.
- Thaxll 1y agoAlternative to solve what problem? pprof is very powerful, it's not missing much.
- styluss 1y agoPprof doesn't tell you if something was leaked aka still around. I fixed a leak recently because of misuse of a slice with code like slice = append(slice[1:], newElement) I only figured it out by looking at the pprof heap endpoint output and noticed there were multiple duplicate entries.