Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Linux
Desktop
2 years ago
Test name Executions per second
getter / setter 1116898.0 Ops/sec
proxy 1305508.0 Ops/sec
events 626584.3 Ops/sec
plain object 1524404.6 Ops/sec
events (kinda cheating) 1651309.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)