Run details:
Mozilla/5.0 (Android 10; Mobile; rv:89.0) Gecko/89.0 Firefox/89.0
Firefox Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
getter / setter 9034417.0 Ops/sec
proxy 1464628.4 Ops/sec
events 1175304.9 Ops/sec
plain object 12457155.0 Ops/sec
events (kinda cheating) 3176367.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)