Run details:
Mozilla/5.0 (Linux; Android 13; SM-S908B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
getter / setter 1034973.5 Ops/sec
proxy 1215685.6 Ops/sec
events 572324.8 Ops/sec
plain object 1343627.6 Ops/sec
events (kinda cheating) 1477371.9 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)