Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 131
iOS 18.1.1
Mobile
5 days ago
Test name Executions per second
getter / setter 132201376.0 Ops/sec
proxy 120796304.0 Ops/sec
events 23425404.0 Ops/sec
plain object 113779280.0 Ops/sec
events (kinda cheating) 53894604.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)