On 07/05/2012 01:26 AM, Jonathan M Davis wrote:
I wonder how the results look on gdc when using the improved popFront, given
how surprising they were with consumeFront.
Improved popFront, gdc as before (-frelease -finline-functions -fweb -O3):
ascii 22.69%: old [2 secs, 449 ms, 248 μs, and 7 hnsecs], new [555 ms,
718 μs, and 3 hnsecs]
uni 42.52%: old [3 secs, 879 ms, 380 μs, and 7 hnsecs], new [1 sec,
649 ms, 387 μs, and 4 hnsecs]
For comparison, on the same machine with dmd -release -O -inline,
ascii 118.23%: old [1 sec, 754 ms, 449 μs, and 2 hnsecs], new [2 secs,
74 ms, 197 μs, and 8 hnsecs]
uni 86.82%: old [4 secs, 413 ms, 167 μs, and 8 hnsecs], new [3 secs,
831 ms, 569 μs, and 1 hnsec]
(The machine is an old 32-bit Athlon XP 3000+ ("Barton"))
When gdc finishes building on my 64-bit box I can run timings on that,
but it's a crappy underpowered emachine/acer, so any results may say
less about any 32/64 bit differences and more about what happens when
you buy a $250 computer at Walmart.
--Ed