Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Windows
Desktop
6 months ago
Test name Executions per second
getter / setter 2123104.5 Ops/sec
proxy 2491755.2 Ops/sec
events 1145815.9 Ops/sec
plain object 2744096.2 Ops/sec
events (kinda cheating) 3044987.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)