Run details:
Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-S911U1) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/23.0 Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
one year ago
Test name Executions per second
Object access 9993840.0 Ops/sec
Proxy access 7694532.0 Ops/sec
Proxy with get handler access 3726816.2 Ops/sec
Use of simple getter 10364771.0 Ops/sec
Use of defineProperty 10373734.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty