Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Windows 7
Desktop
5 years ago
Test name Executions per second
ifTest1 473310176.0 Ops/sec
ifTest2 459992256.0 Ops/sec
ifTest3 471011456.0 Ops/sec
switchTest1 476621824.0 Ops/sec
switchTest2 447329760.0 Ops/sec
switchTest3 476323168.0 Ops/sec
Script Preparation code:
Tests:
  • ifTest1

  • ifTest2

  • ifTest3

  • switchTest1

  • switchTest2

  • switchTest3


;