Script Preparation code:
Tests:
  • Number / arrayNum.indexOf(2390391271) - last element

  • Number / arrayNum.includes(2390391271) - last element

  • String / arrayStr.indexOf('kjDKNJdMtc') - last element

  • String / arrayStr.includes('kjDKNJdMtc') - last element

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Number / arrayNum.indexOf(2390391271) - last element
    Number / arrayNum.includes(2390391271) - last element
    String / arrayStr.indexOf('kjDKNJdMtc') - last element
    String / arrayStr.includes('kjDKNJdMtc') - last element

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:

No previous run results

This benchmark does not have any results yet. Be the first one to run it!