Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Ubuntu
Desktop
8 months ago
Test name Executions per second
Object access 1292048000.0 Ops/sec
Proxy access 219264128.0 Ops/sec
Proxy with get handler access 18790074.0 Ops/sec
Use of simple getter 808150144.0 Ops/sec
Use of defineProperty 1337601536.0 Ops/sec
Proxy with get reflect handler access 17766590.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


;