test (v21)

Revision 21 of this benchmark created on


Setup

var a = new Array(10000),
        f = function(){},
        i = 0,
        o = {1:1, 2:2},
        s = 'string'
    ;

Test runner

Ready to run.

Testing in
TestOps/sec
1
for(i = 0; i < a.length; i++){
  if(a.hasOwnProperty(i)){}
}
ready
2
a.map(function(){});
ready

Revisions

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