Tests:
  • Switch case

  • if-else

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Switch case
    if-else

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128 on Linux
View result in a separate tab
Test name Executions per second
Switch case 149437.4 Ops/sec
if-else 147950.0 Ops/sec