Performance Test Results

Christoph Kulla Christoph.Kulla at tu-clausthal.de
Sun Apr 19 12:24:10 PDT 1998


The following results are taken from a Pentium 133 Machine, with 64 MB Memory
under Linux 2.0.32. Using the original Kaffe 0.10 (JIT) and the JDK 1.1.3.
The code was compiled with and without bytecode optimization.

----------------------
1. JDK 1.1.3 (not opt)
----------------------

Arithmetic time

ggT (24,42)...(0.003762ms 1983ms/500000)
13!...(0.021696ms 10881ms/500000)

Calling time

Static function call...(4.22E-4ms 240ms/500000)
Static final function call...(4.36E-4ms 219ms/500000)
Static synchronized function call...(0.003888ms 1945ms/500000)
Static function call in try catch block...(5.26E-4ms 264ms/500000)
Static exception throwing function call...(0.0176ms 89ms/5000)
Method call...(9.3E-4ms 466ms/500000)
Final method call...(4.96E-4ms 249ms/500000)
Synchronized method call...(0.003826ms 1917ms/500000)
Method call in try catch block...(0.001096ms 549ms/500000)
Exception throwing method call...(0.2012ms 1006ms/5000)

Method execution time

Method with access only to local variables...(5.32E-4ms 267ms/500000)
Method with access only to instance variables...(7.44E-4ms 372ms/500000)

Memory time

Object creation...(0.003852ms 1926ms/500000)
Subclass creation...(0.003906ms 1954ms/500000)
Subclass creation with constructor call...(0.006496ms 3249ms/500000)
List generation (GC test)...(20.568ms 5143ms/250)

Overall time 32776ms

-----------------------
2. Kaffe 0.10 (not opt)
-----------------------

Arithmetic time

ggT (24,42)...(8.36E-4ms 493ms/500000)
13!...(0.010986ms 5495ms/500000)

Calling time

Static function call...(1.54E-4ms 77ms/500000)
Static final function call...(1.56E-4ms 79ms/500000)
Static synchronized function call...(0.002768ms 1384ms/500000)
Static function call in try catch block...(1.64E-4ms 83ms/500000)
Static exception throwing function call...(0.5492ms 2747ms/5000)
Method call...(3.1E-4ms 156ms/500000)
Final method call...(2.48E-4ms 124ms/500000)
Synchronized method call...(0.002754ms 1377ms/500000)
Method call in try catch block...(2.64E-4ms 133ms/500000)
Exception throwing method call...(5.697ms 28485ms/5000)

Method execution time

Method with access only to local variables...(1.4E-4ms 70ms/500000)
Method with access only to instance variables...(1.86E-4ms 94ms/500000)

Memory time

Object creation...(0.025086ms 12543ms/500000)
Subclass creation...(0.01858ms 9290ms/500000)
Subclass creation with constructor call...(0.01259ms 6296ms/500000)
List generation (GC test)...(52.452ms 13114ms/250)

Overall time 82149ms

-----------------------
3. JDK 1.1.3 (with opt)
-----------------------

Arithmetic time

ggT (24,42)...(0.003356ms 1789ms/500000)
13!...(0.018974ms 9487ms/500000)

Calling time

Static function call...(2.56E-4ms 155ms/500000)
Static final function call...(2.66E-4ms 134ms/500000)
Static synchronized function call...(0.003904ms 1953ms/500000)
Static function call in try catch block...(2.7E-4ms 136ms/500000)
Static exception throwing function call...(0.0146ms 73ms/5000)
Method call...(9.32E-4ms 467ms/500000)
Final method call...(3.22E-4ms 162ms/500000)
Synchronized method call...(0.003824ms 1913ms/500000)
Method call in try catch block...(0.001086ms 544ms/500000)
Exception throwing method call...(0.1838ms 919ms/5000)

Method execution time

Method with access only to local variables...(5.26E-4ms 264ms/500000)
Method with access only to instance variables...(7.46E-4ms 374ms/500000)

Memory time

Object creation...(0.003848ms 1924ms/500000)
Subclass creation...(0.003918ms 1959ms/500000)
Subclass creation with constructor call...(0.006456ms 3228ms/500000)
List generation (GC test)...(20.488ms 5123ms/250)

Overall time 30665ms

------------------------
4. Kaffe 0.10 (with opt)
------------------------

Arithmetic time

ggT (24,42)...(7.24E-4ms 440ms/500000)
13!...(0.01012ms 5060ms/500000)

Calling time

Static function call...(4.6E-5ms 23ms/500000)
Static final function call...(5.2E-5ms 28ms/500000)
Static synchronized function call...(0.0028ms 1400ms/500000)
Static function call in try catch block...(4.6E-5ms 24ms/500000)
Static exception throwing function call...(0.4ms 2001ms/5000)
Method call...(2.46E-4ms 124ms/500000)
Final method call...(4.6E-5ms 23ms/500000)
Synchronized method call...(0.002816ms 1408ms/500000)
Method call in try catch block...(2.62E-4ms 132ms/500000)
Exception throwing method call...(4.181ms 20906ms/5000)

Method execution time

Method with access only to local variables...(1.4E-4ms 71ms/500000)
Method with access only to instance variables...(1.98E-4ms 100ms/500000)

Memory time

Object creation...(0.024736ms 12368ms/500000)
Subclass creation...(0.018602ms 9301ms/500000)
Subclass creation with constructor call...(0.013082ms 6576ms/500000)
List generation (GC test)...(59.496ms 14875ms/250)

Overall time 74968ms



More information about the kaffe mailing list