Run details:
Mozilla/5.0 (Linux; Android 7.1.1; MI MAX 2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.73 Mobile Safari/537.36
Chrome Mobile 99
Android 7.1.1
Mobile
2 years ago
Test name Executions per second
getter / setter 160364.8 Ops/sec
proxy 174432.5 Ops/sec
events 91690.9 Ops/sec
plain object 208927.7 Ops/sec
events (kinda cheating) 223264.6 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)