Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0
Firefox 106
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
getter / setter 24759748.0 Ops/sec
proxy 5051734.0 Ops/sec
events 1738083.9 Ops/sec
plain object 34966296.0 Ops/sec
events (kinda cheating) 5213552.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)