Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
test benchmark
(version: 1)
Comparing performance of:
basic vs direct proxy access vs proxyhandler access
Created:
one year ago
by:
Guest
Jump to the latest result
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
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
basic
direct proxy access
proxyhandler access
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
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/OS:
Chrome 132 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
basic
137424064.0 Ops/sec
direct proxy access
59291540.0 Ops/sec
proxyhandler access
37123812.0 Ops/sec
Related benchmarks:
Access to Proxy vs Object
some proxy tests
Access to Proxy vs Object - without reflect
Access to Proxy vs Object2
Access to Proxy vs Object Another one
Proxy vs Object (without Reflection)
Access to Proxy vs Object vs plain proxy
Access to Proxy vs Object no Reflect
testtest0072255
Comments
Confirm delete:
Do you really want to delete benchmark?