Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
getter / setter 325676.2 Ops/sec
proxy 365497.4 Ops/sec
events 173698.5 Ops/sec
plain object 384367.8 Ops/sec
events (kinda cheating) 444193.3 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)