Test name | Executions per second |
---|---|
concat | 24325188.0 Ops/sec |
template string | 109390760.0 Ops/sec |
<!--your preparation HTML code goes here-->
/*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();
}
let a = "hello "
for(i=0; i<10; i++){
a += "world"
}
let a = "hello "
for(i=0; i<10; i++){
`${a} world`
}