Run details:
Mozilla/5.0 (Linux; Android 9; SM-J330FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
getter / setter 117620.2 Ops/sec
proxy 128029.9 Ops/sec
events 67432.1 Ops/sec
plain object 153004.6 Ops/sec
events (kinda cheating) 169341.9 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)