performance-frozen-object-prop-access

Benchmark created on


Setup

o1 = {a: 1, b: 2, c: 3 };
    o2 = {a: 1, b: 2, c: 3 };
    
    Object.freeze(o2);

Test runner

Ready to run.

Testing in
TestOps/sec
non-frozen object
o1.a, o1.b
ready
frozen object
o2.a, o2.b
ready

Revisions

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