On Sunday, 26 April 2015 at 03:40:43 UTC, Andrei Alexandrescu
wrote:
Since it's trivial to make D applications a lot faster by
avoiding big ticket allocations and leave only the peanuts for
the heap, there should be a simple tool to e.g. count how many
objects of each type were allocated at the end of a run. This
is the kind of tool that should be embarrassingly easy to turn
on and use to draw great insights about the allocation behavior
of any application.
https://github.com/CyberShadow/Diamond
Among other features:
can display "top allocators" - call stacks that allocated most
bytes
Unfortunately still D1-only.