Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.1 Safari/605.1.15
Safari 15
Mac OS X 10.15.6
Desktop
2 years ago
Test name Executions per second
Object access 16386210.0 Ops/sec
Proxy access 11031130.0 Ops/sec
Proxy with get handler access 5141359.5 Ops/sec
Use of simple getter 16227595.0 Ops/sec
Use of defineProperty 16084686.0 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty