Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Firefox 100
Linux
Desktop
2 years ago
Test name Executions per second
getter / setter 18623774.0 Ops/sec
proxy 3211395.2 Ops/sec
events 2213475.8 Ops/sec
plain object 22051538.0 Ops/sec
events (kinda cheating) 6063348.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)