Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
4 months ago
Test name Executions per second
Proxy 2333504.5 Ops/sec
defineProperty 2279320.0 Ops/sec
getter 2262087.2 Ops/sec
Proxy w/ Reflection 1683093.9 Ops/sec
Control (plain object access) 2368430.2 Ops/sec
Script Preparation code:
Tests:
  • Proxy

  • defineProperty

  • getter

  • Proxy w/ Reflection

  • Control (plain object access)