test (v24)

Revision 24 of this benchmark created on


Setup

var o = {1:1, 2:2};
    var i = 0;
    var s = 'string';
    var a = new Array(1000);
    
    var test = Array.prototype.hasOwnProperty;

Test runner

Ready to run.

Testing in
TestOps/sec
1
for(i = 0; i < a.length; i++){

}
ready
2
var len = a.length;
for(i = 0; i < len; i++){

}
ready

Revisions

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