Sealed object performance

Benchmark created on


Setup

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

Test runner

Ready to run.

Testing in
TestOps/sec
non-sealed object
for (var key in o1);
ready
sealed 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.