Tests:
  • Proxy.get(prop)

    AخA
     
    const obj = { test: 'test' };
    const proxy = new Proxy(obj, {});
    proxy.test;
  • obj[prop]

     
    const obj = { test: 'test' };
    obj.test;
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Proxy.get(prop)
    obj[prop]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.192 Mobile Safari/537.36 OPR/74.1.3922.71199
Opera Mobile 74 on Android
View result in a separate tab
Test name Executions per second
Proxy.get(prop) 3868219.5 Ops/sec
obj[prop] 1350413696.0 Ops/sec