Run details:
Mozilla/5.0 (Linux; Android 12; SM-A715W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
getter / setter 397907.7 Ops/sec
proxy 439846.1 Ops/sec
events 237249.1 Ops/sec
plain object 484168.0 Ops/sec
events (kinda cheating) 541465.3 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)