In
Figure 1 we present the relative execution time for the Alexa
top-100 web sites,
the first 109 JS1K demos, 24 SunSpider benchmarks, 6 Dromaeo
benchmarks,
and 10 JSBenchmarks. The results show that for 58 out of the
top-100 web sites
and for 50 out of 109 JS1K demos, JIT increases
the execution time. When
JIT fails, it increases the execution time by a factor of up
to 75. In contrast,
just-in-time compilation decreases the execution time for almost
all benchmarks.
In general, the penalty of a unsuccessful JIT compilation is
larger in real-world
web applications. However, the gain is also much larger for the
largest decrease
in execution time with a JIT compilation.
Erick
Our study extends previous studies by showing some consequences of these differences. We compare the execution behavior of four application classes, i.e., four JavaScript benchmark suites, the first pages of the Alexa top-100 web sites, 22 use cases for three social networks, and demo applications for the emerging HTML5 standard. Our results indicate that just-in-time compilation often increases the execution time for web applications, and that there are large differences in the execution behavior between benchmarks and web applications at the bytecode level.
http://link.springer.com/chapter/10.1007%2F978-3-642-22233-7_35?LI=true
Erick