GC statistics
Rainer Schuetze
r.sagitario at gmx.de
Fri Oct 12 00:24:30 PDT 2012
On 10/10/2012 9:11 PM, Andrei Alexandrescu wrote:
> This is mostly for GC experts out there - what statistics are needed and
> useful, yet not too expensive to collect?
>
> https://github.com/D-Programming-Language/druntime/pull/236
>
>
> Andrei
What about allocation time? Including/excluding possible locks. A
precise garbage collector might have to do extra book keeping affecting
overall performance.
Running this precise GC
https://github.com/rainers/druntime/tree/precise_gc2 against the
benchmark
https://github.com/rainers/druntime/blob/precise_gc2/benchmark/gcbench/tree1.d
shows that it is about 20% slower than the conservative GC, most of the
extra time eaten during allocation.
More information about the Digitalmars-d
mailing list