dmd -run speed trends

Adam D Ruppe destructionator at gmail.com
Thu Dec 7 22:33:19 UTC 2023


On Thursday, 7 December 2023 at 20:39:03 UTC, Witold Baryluk 
wrote:
> Inspecting output of `dmd -v`, shows that a lot of time is 
> spend on various helpers of `writefln`. Changing `writefln` to 
> `writeln` (and adjusting things so the output is still the 
> same), speeds things a lot:

Most of Phobos is slow to import. Some of it is *brutally* slow 
to import.

My D2 programs come in at about 300ms mostly by avoiding it... 
but even that is slow compared to the 100ms that was common back 
in the old days.


More information about the Digitalmars-d mailing list