Tests:
  • includes

    AخA
     
    const str = "https://firebasestorage.googleapis.com/v0/b/a-sketch-a-day-207420.appspot.com/o/"
    str.includes("firebasestorage")
  • startsWith

     
    const str = "https://firebasestorage.googleapis.com/v0/b/a-sketch-a-day-207420.appspot.com/o/"
    str.startsWith("https://fire")
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    includes
    startsWith

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Android 10; Mobile; rv:82.0) Gecko/82.0 Firefox/82.0
Firefox Mobile 82 on Android
View result in a separate tab
Test name Executions per second
includes 17921228.0 Ops/sec
startsWith 27554920.0 Ops/sec