performance frozen object (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script>
o1 = {a: 1};
o2 = {a: 1};

Object.freeze(o2);

p1 = Object.create(o1);
p2 = Object.create(o2);
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
non-frozen object
Object.keys(o1);
ready
frozen object
Object.keys(o2);
ready

Revisions

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