Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 OPR/78.0.4093.147
Opera 78
Windows 7
Desktop
3 years ago
Test name Executions per second
getter / setter 984814.1 Ops/sec
proxy 1149222.5 Ops/sec
events 522259.1 Ops/sec
plain object 1241498.5 Ops/sec
events (kinda cheating) 1394969.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)