On 1/31/14, Stanislav Blinov <[email protected]> wrote: > I've reworked the unittest a little, to accomodate for multiple > runs: > > http://codepad.org/ghZdjvUE
I've finally managed to build LDC2 on Windows (MinGW version), here are the timings between DMD and LDC2: $ dmd -release -inline -O -noboundscheck -unittest singleton_2.d -oftest.exe && test.exe Test time for LockSingleton: 606.5 msecs. Test time for SyncSingleton: 7 msecs. Test time for AtomicSingleton: 138 msecs. $ ldmd2 -release -inline -O -noboundscheck -unittest singleton_2.d -oftest.exe && test.exe Test time for LockSingleton: 536.25 msecs. Test time for SyncSingleton: 5 msecs. Test time for AtomicSingleton: 3 msecs. Freaking awesome!
