HTML Preparation code:
AخA
 
1
<!--your preparation HTML code goes here-->
Script Preparation code:
 
/*your preparation JavaScript code goes here
To execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/
async function globalMeasureThatScriptPrepareFunction() {
    // This function is optional, feel free to remove it.
    // await someThing();
}
Tests:
  • concat

     
    let a = "hello "
    for(i=0; i<10; i++){
    a += "world"
    }
  • template string

    x
     
    let a = "hello "
    for(i=0; i<10; i++){
        `${a} world`
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    concat
    template string

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3.2 Mobile/22D82 Safari/604.1
Mobile Safari 18 on iOS 18.3.2
View result in a separate tab
Test name Executions per second
concat 24325188.0 Ops/sec
template string 109390760.0 Ops/sec