Script Preparation code:
Tests:
  • ifTest1

  • ifTest2

  • ifTest3

  • switchTest1

  • switchTest2

  • switchTest3

  • Object keys

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    ifTest1
    ifTest2
    ifTest3
    switchTest1
    switchTest2
    switchTest3
    Object keys

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65 on Windows
View result in a separate tab
Test name Executions per second
ifTest1 1368116608.0 Ops/sec
ifTest2 1359396480.0 Ops/sec
ifTest3 1403181312.0 Ops/sec
switchTest1 1391033600.0 Ops/sec
switchTest2 1400368000.0 Ops/sec
switchTest3 1339207040.0 Ops/sec
Object keys 1338963584.0 Ops/sec