Project name: | FloatPerfTest |
Date of creation: | 5.6.2010 |
Platform: | C++ and C# |
Licence: | GPL |
Sources: | Yes |
Description: | FloatPerfTest is a simple floating point benchmark software. It calculates values in the mandelbrot fractal set and measures how long it took. There are 3 implementations: C++, C# .NET 2 and C# .NET 4 (C# code is identical, just a different runtime). The code was done/compiled using Visual Studio 2010 Express. The C++ release build has fast floating point maths and other optimizations turned on. Results on my computer: CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (4 CPUs), ~2.4GHz FLOAT: ====== C++(rel): Amount in set: 1508359/16000000, calculation took 27.498001 seconds C++(deb): Amount in set: 1508326/16000000, calculation took 41.105000 seconds C#4: Amount in set: 1508326/16000000, calculation took 37,611 seconds C#2: Amount in set: 1508326/16000000, calculation took 34,926 seconds DOUBLE: ======= C++(rel): Amount in set: 1508330/16008001, calculation took 27.460001 seconds C++(deb): Amount in set: 1508330/16008001, calculation took 49.543999 seconds C#4: Amount in set: 1508330/16008001, calculation took 120,901 seconds C#2: Amount in set: 1508330/16008001, calculation took 46,651 seconds |
Download: | Sources |