Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
Safari 14
Linux
Desktop
3 years ago
Test name Executions per second
getter / setter 1388461.5 Ops/sec
proxy 815559.0 Ops/sec
events 576649.4 Ops/sec
plain object 1403414.8 Ops/sec
events (kinda cheating) 1460203.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)