Run details:
Mozilla/5.0 (Linux; Android 11; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 592538.0 Ops/sec
proxy 763816.2 Ops/sec
events 337461.5 Ops/sec
plain object 889010.8 Ops/sec
events (kinda cheating) 767921.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)