Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Windows
Desktop
one year ago
Test name Executions per second
getter / setter 29083906.0 Ops/sec
proxy 4659991.5 Ops/sec
events 2127985.2 Ops/sec
plain object 35510428.0 Ops/sec
events (kinda cheating) 7165306.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)