Message passing between threads: Java 4 times faster than D

Sean Kelly sean at invisibleduck.org
Fri Feb 10 08:01:43 PST 2012


GC.disable and GC.reserve are applicable. I tested with these and they did help but not a ton. 

On Feb 10, 2012, at 5:54 AM, "Oliver Plow" <saxo123 at gmx.de> wrote:

>>> I wonder how much it helps to just optimize the GC a little.  How much
>>> does the performance gap close when you use DMD 2.058 beta instead of
>>> 2.057?  This upcoming release has several new garbage collector
>>> optimizations.  If the GC is the bottleneck, then it's not surprising
> 
> Is there a way to "turn off" the GC, e.g. a compiler switch to set the heap size to a large number so that the GC is likely not to set in? I searched through this page: http://www.d-programming-language.org/dmd-windows.html#switches But couldn't find anything helpful. Then you could measure the thing with GC "turned off" to see whether the GC is the problem or not.
> 
> -- Oliver
> 
> -- 
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the Digitalmars-d mailing list