Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 145118.0 Ops/sec
proxy 161265.5 Ops/sec
events 82623.8 Ops/sec
plain object 184603.9 Ops/sec
events (kinda cheating) 209519.6 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)