GC vs. Manual Memory Management Real World Comparison
Jens Mueller
jens.k.mueller at gmx.de
Fri Sep 7 00:34:19 PDT 2012
Benjamin Thaut wrote:
> I rewrote a 3d game I created during my studies with D 2.0 to manual
> memory mangement. If I'm not studying I'm working in the 3d Engine
> deparement of Havok. As I needed to pratice manual memory management
> and did want to get rid of the GC in D for quite some time, I did go
> through all this effort to create a GC free version of my game.
>
> The results are:
>
> DMD GC Version: 71 FPS, 14.0 ms frametime
> GDC GC Version: 128.6 FPS, 7.72 ms frametime
> DMD MMM Version: 142.8 FPS, 7.02 ms frametime
Interesting.
What about measuring a GDC MMM version? Because I wonder what is the GC
overhead. With DMD it's two. Maybe that factor is lower with GDC.
I would be interested in some numbers regarding memory overhead. To get
a more complete picture of the impact on resources when using the GC.
Jens
More information about the Digitalmars-d-announce
mailing list