Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object access 731190400.0 Ops/sec
Proxy access 17134644.0 Ops/sec
Proxy with get handler access 10153813.0 Ops/sec
Use of simple getter 692621056.0 Ops/sec
Use of defineProperty 720472768.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty