Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Linux
Desktop
3 months ago
Test name Executions per second
getter / setter 1627823.2 Ops/sec
proxy 1976255.4 Ops/sec
events 922865.3 Ops/sec
plain object 2270039.0 Ops/sec
events (kinda cheating) 2495251.8 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)