Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 2141181.8 Ops/sec
proxy 2359146.8 Ops/sec
events 1089136.5 Ops/sec
plain object 2706664.8 Ops/sec
events (kinda cheating) 2926796.5 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)