Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 941415.5 Ops/sec
proxy 1048350.9 Ops/sec
events 697938.2 Ops/sec
plain object 1945603.2 Ops/sec
events (kinda cheating) 2115845.2 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)