Run details:
Mozilla/5.0 (Linux; Android 11; SM-A405FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Object access 1463823.4 Ops/sec
Proxy access 1194637.2 Ops/sec
Proxy with get handler access 623961.4 Ops/sec
Use of simple getter 1460477.6 Ops/sec
Use of defineProperty 1462652.9 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty