Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
getter / setter 962315.2 Ops/sec
proxy 1101365.8 Ops/sec
events 541361.1 Ops/sec
plain object 1248450.0 Ops/sec
events (kinda cheating) 1392874.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)