for loop increment

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
standard
for ( var i = 0, n = 0; i < 10000; i++ )
  n += i;
ready
other way
for ( var i = 0, n = 0; i < 10000; i += 1 )
  n += i;
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.