Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
getter / setter 18745520.0 Ops/sec
proxy 3318832.2 Ops/sec
events 2492861.5 Ops/sec
plain object 25556480.0 Ops/sec
events (kinda cheating) 6743722.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)