Run details:
Mozilla/5.0 (Linux; Android 10; CDY-NX9A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.136 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 621157.8 Ops/sec
proxy 697278.4 Ops/sec
events 314020.7 Ops/sec
plain object 750448.7 Ops/sec
events (kinda cheating) 836770.4 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)