Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
test benchmark
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/132.0.0.0 Safari/537.36 Edg/132.0.0.0
Browser:
Chrome 132
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
basic
137.4M/s
direct proxy access
59.3M/s
proxyhandler access
37.1M/s
View exact numbers
Test name
Executions per second
✓
basic
137,424,064 Ops/sec
direct proxy access
59,291,540 Ops/sec
proxyhandler access
37,123,812 Ops/sec
Script Preparation code:
object = { x: 'y' }; Object.defineProperty(object, 'prop', { configurable: false }); proxy = new Proxy(object, {}) proxyWithHandler = new Proxy(object, { get(...x) { return proxyWithHandler } })
Tests:
basic
object.x
direct proxy access
proxy.x
proxyhandler access
proxyWithHandler.x