var-loop

Benchmark created by Loop test on


Setup

var array = [];

Test runner

Ready to run.

Testing in
TestOps/sec
test1
var i = 0;
for (; i < 100; i++) {
array.push(i)
}
ready
test2
for (var i = 0; i < 100; i++) {
array.push(i)
}
ready

Revisions

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

  • Revision 1: published by Loop test on