Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Proxy 2584532.8 Ops/sec
defineProperty 3076034.0 Ops/sec
getter 3054067.0 Ops/sec
Proxy w/ Reflection 1230220.6 Ops/sec
Control (plain object access) 3277170.5 Ops/sec
Script Preparation code:
Tests:
  • Proxy

  • defineProperty

  • getter

  • Proxy w/ Reflection

  • Control (plain object access)