Run details:
Mozilla/5.0 (Linux; Android 11; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 693050.6 Ops/sec
proxy 876216.6 Ops/sec
events 390390.6 Ops/sec
plain object 918461.7 Ops/sec
events (kinda cheating) 1035668.1 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)