Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Object access 603268544.0 Ops/sec
Proxy access 171635680.0 Ops/sec
Proxy with get handler access 15237613.0 Ops/sec
Use of simple getter 343865152.0 Ops/sec
Use of defineProperty 571772800.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty