Script Preparation code:
AخA
 
object = { value: 'data' };
proxy = new Proxy(object, {})
getProxyWithHandler = () => new Proxy(object, {
    get(target, prop, receiver) {
        return Reflect.get(target, prop, receiver)
    }
})
proxyWithHandler = getProxyWithHandler()
Tests:
  • Object access

     
    object.value;
  • Proxy access

     
    proxy.value
  • Proxy with get handler access

     
    proxyWithHandler.value
  • New Proxy with handler

     
    getProxyWithHandler().value
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Object access
    Proxy access
    Proxy with get handler access
    New Proxy with handler

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPad; CPU OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/116.0.5845.103 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 116 on iOS 16.6
View result in a separate tab
Test name Executions per second
Object access 15666077.0 Ops/sec
Proxy access 14982360.0 Ops/sec
Proxy with get handler access 6009883.5 Ops/sec
New Proxy with handler 3119687.0 Ops/sec