Re: benchmark: Eu wins again
- Posted by stabmaster_ at hotmail.com May 26, 2003
- 437 views
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.