Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object access 676760448.0 Ops/sec
Proxy access 15382830.0 Ops/sec
Proxy with get handler access 7161857.0 Ops/sec
Use of simple getter 395847328.0 Ops/sec
Use of defineProperty 674192896.0 Ops/sec
Proxy with get reflect handler access 6961348.5 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty

  • Proxy with get reflect handler access