performance frozen object (v22)

Revision 22 of this benchmark created on


Setup

o1 = {
      a: 1
    };
    o2 = {
      a: 1
    };
    
    Object.freeze(o2);

Test runner

Ready to run.

Testing in
TestOps/sec
non-frozen object
for (var key in o1);
ready
frozen object
for (var key in o2);
ready

Revisions

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