Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Ubuntu
Desktop
7 months ago
Test name Executions per second
getter / setter 47826928.0 Ops/sec
proxy 13147292.0 Ops/sec
events 8919011.0 Ops/sec
plain object 53626688.0 Ops/sec
events (kinda cheating) 27324652.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)