test (v10)

Revision 10 of this benchmark created on


Setup

var o = {1:1, 2:2};
    var n = 0;
    var s = 'string';

Test runner

Ready to run.

Testing in
TestOps/sec
1
var a = [];

for(var i = 0; i < 10; i++){
a.push(i);
}
ready
2
var a = [];

for(var i = 0; i < 10; i++){
a[i] = i;
}
ready

Revisions

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