Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
one year ago
Test name Executions per second
getter / setter 8287636.0 Ops/sec
proxy 1430899.6 Ops/sec
events 834093.3 Ops/sec
plain object 10333824.0 Ops/sec
events (kinda cheating) 2396710.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)