Tests:

Historical Performance Data aggregated from 15 community runs

Desktop Results:
Chrome 15 runs
String concatentation
984K/s
Array join (w/ push)
127K/s
Array join
123K/s

Fastest: String concatentation (8.0x faster)

View exact numbers
  • String concatentation: 983,851 ops/sec
  • Array join (w/ push): 126,584 ops/sec
  • Array join: 122,636 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
    String concatentation
    Array join
    Array join (w/ push)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
Firefox 153 on Linux
View result in a separate tab
String concatentation
258K/s
Array join (w/ push)
108K/s
Array join
105K/s
View exact numbers
Test name Executions per second
String concatentation 258,311 Ops/sec
Array join (w/ push) 107,659 Ops/sec
Array join 105,013 Ops/sec