Run details:
Mozilla/5.0 (Linux; Android 11; SM-G970N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
getter / setter 503020.5 Ops/sec
proxy 542721.1 Ops/sec
events 275580.8 Ops/sec
plain object 635121.8 Ops/sec
events (kinda cheating) 750182.4 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)