Run details:
Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-F721B) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/23.0 Chrome/115.0.0.0 Mobile Safari/537.36
Chrome Mobile 115
Android
Mobile
9 months ago
Test name Executions per second
Object access 7856449.0 Ops/sec
Proxy access 6122942.0 Ops/sec
Proxy with get handler access 3001232.0 Ops/sec
Use of simple getter 8203234.0 Ops/sec
Use of defineProperty 8233651.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty