Java/C++ Benchmark

Description of
Bytemark
CC
(Iterations/sec)
Java (MIPS-Code)
(Iterations/sec)
Java vs CC
Index
opt. unopt. opt. unopt. opt. unopt.
Numeric sort 99.280 47.263 14.654 14.703 0.147 0.311
String sort 9.065 6.648 5.780 5.555 0.637 0.835
Bitfield 27733634 15292253 2297770 3137980 0.082 0.205
Emulated F.P. 7.397 3.762 2.219 2.234 0.300 0.593
Fourier 2440.275 2411.404 1507.58 1507.58 0.617 0.625
Assignment 1.594 0.651 0.395 0.402 0.248 0.618
IDEA 253.907 229.885 27.027 27.272 0.106 0.118
Huffman 106.008 69.446 31.496 31.496 0.297 0.453
Neural Net 3.831 0.761 1.503 1.552 0.392 2.040
LU decomp 158.320 23.374 8.403 8.474 0.053 0.362
Integer Index Summarization of Numeric sort, String sort, Bitfield, Emulated F.P., Assignment, IDEA, Huffman 0.259 0.447
FP Index Summarization of Fourier, Neural Net, LU decomp 0.234 0.773
 


Description of
Objects & Functions
CC
(msec)
Java (MIPS-Code)
(msec)
Java vs CC Index
opt. unopt. opt. unopt. opt. unopt.
Creation of 2500 objects
(type A)
90 100 257 260 0.350 0.384
Deletion of 2500 objects
(type A)
10 10 50 (1*) 50 (1*) 0.200 0.200
*) without garbage collection
Creation of 25000 objects
(type B)
270 270 8866 8408 0.030 0.0321
1000000 functions calls 880(30**) 1080(410**) 514 2342 1.712 0.461
**) with inline function optimization
1000000 virtual functions calls 990(780**) 1340(1080**) 2539 2520 0.389 0.531
**) with inline function optimization
Summarization without *), **) 0.536 0.321







Compiled & run on SGI (IRIX64) with the following equipment:
Processor: 194 MHZ IP25
CPU: MIPS R10000
FPU: MIPS R10010
Secondary unified instruction/data cache size: 1 Mbyte
Data cache size: 32 Kbytes
Instruction cache size: 32 Kbytes
Main memory size: 1 GByte
Java version
(interpreter and native compiler):
1.0, JDK 1.0.1


Gabriel Zachmann
Last modified: Sat Sep 10 15:42:51 MDT 2005