Run details:
Mozilla/5.0 (Linux; arm_64; Android 11; M2007J20CG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 YaBrowser/23.3.3.88.00 SA/3 Mobile Safari/537.36
Yandex Browser 23
Android
Mobile
one year ago
Test name Executions per second
getter / setter 527684.7 Ops/sec
proxy 619074.0 Ops/sec
events 276266.2 Ops/sec
plain object 632753.2 Ops/sec
events (kinda cheating) 677624.4 Ops/sec
Script Preparation code:
Tests:
  • getter / setter

  • proxy

  • events

  • plain object

  • events (kinda cheating)