Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.35
Chrome 113
Linux
Desktop
one year ago
Test name Executions per second
Object access 5746876.0 Ops/sec
Proxy access 4918010.0 Ops/sec
Proxy with get handler access 2334427.2 Ops/sec
Use of simple getter 5617908.5 Ops/sec
Use of defineProperty 5595751.5 Ops/sec
Script Preparation code:
Tests:
  • Object access

  • Proxy access

  • Proxy with get handler access

  • Use of simple getter

  • Use of defineProperty