Run details:
Mozilla/5.0 (Linux; Android 12; 2109119DG) 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 729126.2 Ops/sec
proxy 851849.2 Ops/sec
events 400823.4 Ops/sec
plain object 941950.2 Ops/sec
events (kinda cheating) 1016883.6 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)