Run details:
Mozilla/5.0 (Linux; Android 9; TECNO KC6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 150949.0 Ops/sec
proxy 177465.0 Ops/sec
events 92637.9 Ops/sec
plain object 199933.3 Ops/sec
events (kinda cheating) 210444.3 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)