Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
getter / setter 2557440.5 Ops/sec
proxy 2995382.8 Ops/sec
events 1390664.5 Ops/sec
plain object 3347648.8 Ops/sec
events (kinda cheating) 3692324.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)