Run details:
Mozilla/5.0 (Linux; Android 11; IN2023) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 626165.4 Ops/sec
proxy 721562.6 Ops/sec
events 333745.9 Ops/sec
plain object 839839.5 Ops/sec
events (kinda cheating) 892504.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)