Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Access to Proxy without Reflect, vs Object
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Browser:
Chrome 138
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Object access
139.2M/s
Proxy access
53.1M/s
Proxy with get handler access
39.0M/s
View exact numbers
Test name
Executions per second
✓
Object access
139,171,440 Ops/sec
Proxy access
53,096,092 Ops/sec
Proxy with get handler access
38,980,052 Ops/sec
Script Preparation code:
object = { value: 'data' }; proxy = new Proxy(object, {}) proxyWithHandler = new Proxy(object, { get(target, prop, receiver) { return target[prop] } })
Tests:
Object access
object.value;
Proxy access
proxy.value
Proxy with get handler access
proxyWithHandler.value