Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 21270558.0 Ops/sec
proxy 3976989.5 Ops/sec
events 3543988.2 Ops/sec
plain object 25768458.0 Ops/sec
events (kinda cheating) 11355008.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)