Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
getter / setter 1960980.1 Ops/sec
proxy 2179334.8 Ops/sec
events 1023328.9 Ops/sec
plain object 2575838.2 Ops/sec
events (kinda cheating) 2711900.2 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)