Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
getter / setter 724867.2 Ops/sec
proxy 901143.9 Ops/sec
events 394962.1 Ops/sec
plain object 1099075.2 Ops/sec
events (kinda cheating) 1295934.0 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)