Updates to compile-benchmark

Per Nordlöw per.nordlow at gmail.com
Wed Oct 7 16:17:12 UTC 2026


On Sunday, 4 October 2026 at 02:26:20 UTC, jmh530 wrote:
> Am I reading this right: dmd has runtime of 5,36 for us/f, gdc 
> has 125,46 and ldmd2 has 175,52. So ldc and gdc are slower than 
> dmd?

For debug runtime performance, yes; for release runtime 
performance, no. Walter Bright made a pragmatic trade-off 
favoring fast compilation *and* fast execution generated machine 
code for the sake of rapid developer turnaround during the 
iteration loop. The primary objective of compiler-benchmark is to 
compare this developer inner loop—such as quick semantic checking 
and running unit tests in debug mode.


More information about the Digitalmars-d-announce mailing list