Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
Chrome 92
Linux
Desktop
2 years ago
Test name Executions per second
getter / setter 931441.8 Ops/sec
proxy 1001347.1 Ops/sec
events 483125.7 Ops/sec
plain object 1149649.1 Ops/sec
events (kinda cheating) 1236735.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)