Run details:
Mozilla/5.0 (Android 8.0.0; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0
Firefox Mobile 93
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
getter / setter 8448245.0 Ops/sec
proxy 551098.7 Ops/sec
events 556622.6 Ops/sec
plain object 7445711.5 Ops/sec
events (kinda cheating) 2054982.6 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)