loc_var_define

JavaScript performance comparison

Test case created by loc_var_define

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
sans bloc
var a = 0,
  b, c, d, e, f, g, h,
  j, k, l, m = 10000,
  o, p, q, r, s, t, u, v, w, x, y, z;
for (var i = 0; i < m; i++) a++;
pending…
avec bloc
var a = 0,
  b, c, d, e, f, g, h,
  j, k, l, m = 10000,
  o, p, q, r, s, t, u, v, w, x, y, z;

{
  for (var i = 0, n = m; i < n; i++) a++;
}
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment