Proxy

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Proxy
const d = {a : 1};

for (let i = 0; i < 100000; i++) d.a;
ready
Object
const d = new Proxy({},{get(){ return 1}})

for (let i = 0; i < 100000; i++) d.a;
ready

Revisions

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