Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
getter / setter 12776460.0 Ops/sec
proxy 2390499.2 Ops/sec
events 1375661.2 Ops/sec
plain object 17003342.0 Ops/sec
events (kinda cheating) 3918232.2 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)