Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
7 months ago
Test name Executions per second
getter / setter 1639496.6 Ops/sec
proxy 1948687.1 Ops/sec
events 906439.8 Ops/sec
plain object 2285990.2 Ops/sec
events (kinda cheating) 2442175.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)