Script Preparation code:
Tests:
  • if/if

  • if/else if

  • multiple vars

  • single var

  • else

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    if/if
    if/else if
    multiple vars
    single var
    else

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36
Chrome 127 on Windows
View result in a separate tab
Test name Executions per second
if/if 2162382.5 Ops/sec
if/else if 2106443.8 Ops/sec
multiple vars 9061625.0 Ops/sec
single var 8871654.0 Ops/sec
else 8476568.0 Ops/sec