Script Preparation code:
Tests:
  • switch

  • if/else if

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:137.0) Gecko/20100101 Firefox/137.0
Firefox 137 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
switch 1132073984.0 Ops/sec
if/else if 1177142144.0 Ops/sec