Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 11597494.0 Ops/sec
proxy 2175096.0 Ops/sec
events 2197279.5 Ops/sec
plain object 14108443.0 Ops/sec
events (kinda cheating) 6319928.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)