Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 1631175.2 Ops/sec
proxy 1720709.4 Ops/sec
events 825524.1 Ops/sec
plain object 2001054.9 Ops/sec
events (kinda cheating) 2167899.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)