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 668874.9 Ops/sec
proxy 741359.2 Ops/sec
events 358315.6 Ops/sec
plain object 816836.3 Ops/sec
events (kinda cheating) 902214.9 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)