Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.1 Safari/605.1.15
Safari 16
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Object access 18217912.0 Ops/sec
Proxy access 17520230.0 Ops/sec
Proxy with get handler access 8371953.5 Ops/sec
Use of simple getter 18338038.0 Ops/sec
Use of defineProperty 18366808.0 Ops/sec
Proxy with get reflect handler access 7631085.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


;