Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127
Linux
Desktop
3 months ago
Test name Executions per second
getter / setter 3596886.0 Ops/sec
proxy 3972069.5 Ops/sec
events 1824935.2 Ops/sec
plain object 4369773.0 Ops/sec
events (kinda cheating) 4658964.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)