Re:Memory Profiling Part 1. Introduction
by kouteiheika on Thursday February 15, 2024 @01:30AM
(#39379746)
> Instead I've added random sampling - e.g. if ptr % modulo > level - output it or not.
A good alternative that also cuts down on the amount of data significantly is to strip away temporary allocations, say, only emit those allocations which were alive for at least X seconds.
A good alternative that also cuts down on the amount of data significantly is to strip away temporary allocations, say, only emit those allocations which were alive for at least X seconds.