performance frozen object

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.