Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Linux
Desktop
3 years ago
Test name Executions per second
getter / setter 9644136.0 Ops/sec
proxy 1376275.4 Ops/sec
events 1068016.1 Ops/sec
plain object 12366863.0 Ops/sec
events (kinda cheating) 3072902.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)