Run details:
Mozilla/5.0 (Linux; Android 11; GM1910) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.92 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 689213.7 Ops/sec
proxy 814603.7 Ops/sec
events 359902.6 Ops/sec
plain object 914296.4 Ops/sec
events (kinda cheating) 974353.6 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)