JavaScript performance comparison Test case created by kazuho on 2012-7-2 Preparation code <script> Benchmark.prototype.setup = function() { var a = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ]; a = a.concat(a, a, a, a, a, a, a, a); }; </script> Test runner Warning! For accurate results, please disable Firebug before running the tests. (Why?) Java applet disabled.