Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
getter / setter 2204423.0 Ops/sec
proxy 2492261.8 Ops/sec
events 1173223.4 Ops/sec
plain object 2723379.5 Ops/sec
events (kinda cheating) 2957154.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)