Run details:
Mozilla/5.0 (Linux; Android 11; RMX2151) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 383615.2 Ops/sec
proxy 426538.5 Ops/sec
events 216668.4 Ops/sec
plain object 399852.3 Ops/sec
events (kinda cheating) 412728.3 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)