Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Proxy 1751351.9 Ops/sec
defineProperty 3919535.0 Ops/sec
getter 3516127.0 Ops/sec
Control (plain object access) 3894227.0 Ops/sec
Script Preparation code:
Tests:
  • Proxy

  • defineProperty

  • getter

  • Control (plain object access)