Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
Proxy 3028867.8 Ops/sec
defineProperty 3521436.8 Ops/sec
getter 3478243.5 Ops/sec
Proxy w/ Reflection 1633382.6 Ops/sec
Control (plain object access) 4052179.8 Ops/sec
Script Preparation code:
Tests:
  • Proxy

  • defineProperty

  • getter

  • Proxy w/ Reflection

  • Control (plain object access)