Run details:
Mozilla/5.0 (Linux; Android 8.1.0; ONEPLUS A6003 Build/OPM1.171019.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
ifTest1 379733728.0 Ops/sec
ifTest2 381391424.0 Ops/sec
ifTest3 382135520.0 Ops/sec
switchTest1 383451840.0 Ops/sec
switchTest2 382869984.0 Ops/sec
switchTest3 384306048.0 Ops/sec
Script Preparation code:
Tests:
  • ifTest1

  • ifTest2

  • ifTest3

  • switchTest1

  • switchTest2

  • switchTest3


;