Script Preparation code:
Tests:
  • indexOf + array

  • object + if

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    indexOf + array
    object + if

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-J810G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92 on Android
View result in a separate tab
Test name Executions per second
indexOf + array 1186.2 Ops/sec
object + if 6067.7 Ops/sec


;