Speed of JIT vs. interpreter

Kim, Jongwon (freefish) freefish at cselab.snu.ac.kr
Wed Oct 21 22:17:50 PDT 1998


Kaffe spent most time for initializing JVM.
JIT helps long life Java program.

- Jongwon Kim
 
--------------------------------------------------


|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