The Java (not really) Faster than C++ Benchmark
Last update: Sat Nov 18 18:12:36 CET 2006
Java version was as follows:
java version "1.6.0-rc" Java(TM) SE Runtime Environment (build 1.6.0-rc-b104) Java HotSpot(TM) Client VM (build 1.6.0-rc-b104, mixed mode, sharing)
GCC version that was used to compile C++ code was g++ (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19).
For other information, look here .
Total execution time for C++: 84.42 seconds
Total execution time for Java Server VM: 205.08 seconds
Total execution time for Java Client VM: 249.73 seconds
Przemyslaw Bruski, SCJP - mail me at [pbruskispam "at" op "dot" pl]