18% faster build time when using DMD with mimalloc!

Dennis dkorpel at gmail.com
Tue Mar 26 23:21:44 UTC 2024


On Tuesday, 26 March 2024 at 15:56:14 UTC, ryuukk_ wrote:
> Try with your project, and share the result here, and perhaps 
> we should make it the default if it's an improvement for 
> everyone?

Thanks for sharing! I tested it on one of my applications, and 
build time went down from 0.44s to 0.35s. Building all my apps 
and running all my unittests went from 11.6s to 9.95s, which is 
amazing for how little effort it took (`sudo pacman -S mimalloc` 
and `export LD_PRELOAD=/usr/lib/libmimalloc.so`).


More information about the Digitalmars-d mailing list