Run details:
Mozilla/5.0 (Linux; Android 13; M2101K7BG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
getter / setter 427384.8 Ops/sec
proxy 465492.7 Ops/sec
events 233038.1 Ops/sec
plain object 520607.3 Ops/sec
events (kinda cheating) 584284.9 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)