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 12309926.0 Ops/sec
proxy 2388643.0 Ops/sec
events 1365591.6 Ops/sec
plain object 16741072.0 Ops/sec
events (kinda cheating) 3923905.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)