The Java (not really) Faster than C++ Benchmark

Last update: Mon Apr 11 22:32:56 CEST 2011

Benchmark environment

Java version was as follows:

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

The GCC version that was used to compile C++ code was g++-4.5 (Ubuntu/Linaro 4.5.1-7ubuntu2) 4.5.1.

For other information, look here .

Individual test results

Individual results

Cumulative results

Cumulative results

Total execution time for C++: 35.14 seconds

Total execution time for Java Server VM: 61.65 seconds

Total execution time for Java Client VM: 60.05 seconds

Go back

Przemyslaw Bruski, SCJD - mail me at [pbruskispam "at" op "dot" pl]