Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Linux
Desktop
2 years ago
Test name Executions per second
getter / setter 9153897.0 Ops/sec
proxy 1366254.9 Ops/sec
events 953517.4 Ops/sec
plain object 11109656.0 Ops/sec
events (kinda cheating) 2730977.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)