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 413982.9 Ops/sec
proxy 439321.2 Ops/sec
events 215399.7 Ops/sec
plain object 399439.5 Ops/sec
events (kinda cheating) 399205.7 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)