Script Preparation code:
x
 
const str = "https://firebasestorage.googleapis.com/v0/b/a-sketch-a-day-207420.appspot.com/o/"
Tests:
  • short

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

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

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    short
    long

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
Chrome 84 on Mac OS X 10.15.5
View result in a separate tab
Test name Executions per second
short 821418752.0 Ops/sec
long 3239501.0 Ops/sec