Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 951018.9 Ops/sec
proxy 1061535.2 Ops/sec
events 516800.3 Ops/sec
plain object 1160308.9 Ops/sec
events (kinda cheating) 1303090.4 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)