Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Linux
Desktop
11 months ago
Test name Executions per second
Object access 812515584.0 Ops/sec
Proxy access 179969232.0 Ops/sec
Proxy with get handler access 16204902.0 Ops/sec
Use of simple getter 440606528.0 Ops/sec
Use of defineProperty 791742656.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty