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 693523136.0 Ops/sec
Proxy access 15391899.0 Ops/sec
Proxy with get handler access 7716703.5 Ops/sec
Use of simple getter 405865152.0 Ops/sec
Use of defineProperty 684652544.0 Ops/sec
Proxy with get reflect handler access 7391133.0 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