On Saturday, 22 June 2019 at 19:26:13 UTC, Cym13 wrote:
On Saturday, 22 June 2019 at 16:52:07 UTC, Anonymouse wrote:
[...]
Clearly this is a good time for you to learn about the tools D
offers to profile allocations. There is the --profile=gc DMD
argument that you can use but here there's something better:
DMD's GC has a few hooks that are directly inside druntime and
therefore available to any D program.
[...]
Ooops, sorry I went a bit fast there, --DRT-gcopt gives you the
number of collections, not allocations.