On Sunday, 26 April 2015 at 03:58:44 UTC, Andrei Alexandrescu wrote:
On 4/25/15 8:49 PM, Vladimir Panteleev wrote:
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

(Enthusiasm rises)

Unfortunately still D1-only.

(Enthusiasm decreases)

Maybe I should work on it for this hackathon. But I also have two other interesting D projects in the pipeline, much closer to being ready (or at least, announce-ready).

Reply via email to