Run details:
Mozilla/5.0 (Linux; Android 10; Redmi 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
getter / setter 148150.1 Ops/sec
proxy 161953.9 Ops/sec
events 77300.4 Ops/sec
plain object 179898.6 Ops/sec
events (kinda cheating) 199597.4 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)