Actual JavaScript Engine Performance

Şubat 2012 | Ahmet Faik, Yazılım Geliştirme Uzmanı

JSMeter: Measuring JavaScript Behavior in the Wild showed that benchmarks are not representative of the behavior of real web applications. But lacking credible benchmarks, engine developers are tuning to what they have. The danger is that the performance of the engines will be tuned to non-representative benchmarks, and then programming styles will be skewed to get the best performance from the mistuned engines.

So I have come up with a benchmark that should be more representative of large, well-written JavaScript applications. It is in fact a popular, large, well-written JavaScript application: JSLint.

The table shows the results on running JSLint on its main source file, jslint.js, using the Good Parts options. I think these results are more indicative of actual JavaScript engine performance than those provided by the performance-oriented benchmarks.