Speed of JIT vs. interpreter
Godmar Back
gback at cs.utah.edu
Wed Oct 21 11:25:30 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
>
This is certainly possible and doesn't come as a surprise.
- Godmar
More information about the kaffe
mailing list