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 5910072.0 Ops/sec
defineProperty 7083624.0 Ops/sec
getter 6798764.5 Ops/sec
Proxy w/ Reflection 3310756.2 Ops/sec
Control (plain object access) 7363887.5 Ops/sec
Script Preparation code:
Tests:
  • Proxy

  • defineProperty

  • getter

  • Proxy w/ Reflection

  • Control (plain object access)