Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
getter / setter 259560832.0 Ops/sec
proxy 5824278.5 Ops/sec
events 3829485.0 Ops/sec
plain object 274481632.0 Ops/sec
events (kinda cheating) 11480797.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)