Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 15776195.0 Ops/sec
proxy 2640308.8 Ops/sec
events 2186490.5 Ops/sec
plain object 18818148.0 Ops/sec
events (kinda cheating) 6453133.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)