Run details:
Mozilla/5.0 (Linux; Android 12; SM-G781W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 651068.1 Ops/sec
proxy 736785.1 Ops/sec
events 354093.2 Ops/sec
plain object 794001.8 Ops/sec
events (kinda cheating) 891257.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)