"Some of the optimizations we've made to the JavaScript interpreter/compiler in IE9 are of a type known in the compiler world as dead code elimination," the IEBlog explains, "Dead code elimination optimizations look for code that has no effect on a running program, and removes the code from the program. This has a benefit of both reducing the size of the compiled program in memory and running the program faster."Source: OS News
This explains why the math-cordic benchmark runs so well on IE9. "The benchmark runs an expensive loop, and then does nothing with the results; the benchmark is written exactly in a way that triggers this general optimization," they add, "Of course, the benchmark could be rewritten to avoid triggering this optimization, which would bring our performance on this specific benchmark in line with other browsers."
Microsoft: IE9 not cheating in JavaScript benchmark
Posted on Thursday, November 18 2010 @ 20:10 CET by Thomas De Maesschalck