Hi,

I have fresh performance statistics:
The test[1] involved running an empty while loop.

Machine 1 Linux :
DMD release : Interpreted : 3400 ms || Pseudo-Jited 230 || 50ms Native DMD Debug : Interpreted 4560 || Pseudo-Jited 260ms || Native 230 ms

LDC release : Interpreted 2400 ms || Pseudo-Jited 0 ms || Native 0 ms LDC debug : Interpreted 8700 ms || Pseudo-Jited 330 ms || Native 250 ms

Machine 2 Windows :

DMD release : Interpreted : 5500 ms || Pseudo-Jited 180ms || 40ms Native DMD Debug : Interpreted 5500 || Pseudo-Jited 320ms || Native 180 ms


Pay attention to the ratio (~4.5) between (pseudo)jit[2] and native.
This slowdown inherent in the VM design I choose.

please share your thoughts.

[1] https://github.com/UplinkCoder/dmd/blob/newCTFE/bcPerf.d
[2] https://github.com/UplinkCoder/dmd/blob/newCTFE/src/bc_c_backend.d

Reply via email to