Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/108.1 Mobile/15E148 Safari/605.1.15
Mobile Safari 16
iOS 16.1.1
Mobile
one year ago
Test name Executions per second
getter / setter 2500823.2 Ops/sec
proxy 1577786.2 Ops/sec
events 974306.4 Ops/sec
plain object 2491604.2 Ops/sec
events (kinda cheating) 2517858.2 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)