Run details:
Mozilla/5.0 (Android 9; Mobile; rv:91.0) Gecko/91.0 Firefox/91.0
Firefox Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
getter / setter 7544232.0 Ops/sec
proxy 527063.1 Ops/sec
events 294052.7 Ops/sec
plain object 4639267.0 Ops/sec
events (kinda cheating) 856967.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)