Re: benchmark: Eu wins again

new topic     » goto parent     » topic index » view thread      » older message » newer message

Just for fun, I did a hand-translation of \demo\bench\sieve.ex to x86 
assembly (only regular instructions, no SIMD, and no extreme optimizations). 
Here are the results i got:

sieve.ex (executed by ex.exe): 7216.6 sieves/second
sieve.exe: 54630.3 sieves/second

So the assembly version was about 657% faster. Gosh, didn't see that 
coming..  : )

Test computer:
P-II 450MHz
384MB 100MHz SDRAM
not sure about the cahche size
Windows 2000 pro

The figures were averaged over three runs. If you want to see the code or 
try the program on your own computer you can find it here:  
http://www.cyd.liu.se/~micol972/site/asieve.zip
The source compiles with MASM (freeware), but the executable is included so 
you don't need to compile it yourself, unless you decide to make any 
changes.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu