Script Preparation code:
Tests:
  • if/if

  • if/else if

  • switch case

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    if/if
    if/else if
    switch case

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129 on Linux
View result in a separate tab
Test name Executions per second
if/if 179744976.0 Ops/sec
if/else if 169341712.0 Ops/sec
switch case 186047712.0 Ops/sec