Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Template string
169.0M/s
String.concat
40.8M/s

Fastest: Template string (4.1x faster)

View exact numbers
  • Template string: 169,018,736 ops/sec
  • String.concat: 40,769,416 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Template string
    String.concat

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Chrome 143 on Windows
View result in a separate tab
Template string
15.7M/s
String.concat
14.5M/s
View exact numbers
Test name Executions per second
Template string 15,746,265 Ops/sec
String.concat 14,530,921 Ops/sec