Run details:
Mozilla/5.0 (Linux; Android 11; SM-A505FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Object access 2186996.2 Ops/sec
Proxy access 1636598.6 Ops/sec
Proxy with get handler access 909530.4 Ops/sec
Use of simple getter 2233836.2 Ops/sec
Use of defineProperty 2207736.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty