Speed of JIT vs. interpreter

Senthil Kumar skumars at earthlink.net
Wed Oct 21 10:17:11 PDT 1998


I just timed Kaffe running the compiler on a
hello.java program.

It appears that the JIT approach in this
case is not that useful. The JIT saves us 1 second.

This is on Linux 2.0.33

bash > time Kaffe pizza.compiler.Main hello.java
10.49user 0.55system 0:11.08elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (167major+3610minor)pagefaults 0swaps

bash > time Kaffe -disableJIT pizza.compiler.Main hello.java
11.70user 0.62system 0:12.32elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (161major+3500minor)pagefaults 0swaps


More information about the kaffe mailing list