Script Preparation code:
Tests:

Historical Performance Data aggregated from 16 community runs

Desktop Results:
Safari 6 runs
Array join
24K/s
String concatentation
15K/s
Array join (w/ push)
45/s

Fastest: Array join (523.1x faster)

View exact numbers
  • Array join: 23,505 ops/sec
  • String concatentation: 15,009 ops/sec
  • Array join (w/ push): 45 ops/sec
Chrome 5 runs
Array join
10K/s
String concatentation
3K/s
Array join (w/ push)
42/s

Fastest: Array join (233.4x faster)

View exact numbers
  • Array join: 9,732 ops/sec
  • String concatentation: 3,144 ops/sec
  • Array join (w/ push): 42 ops/sec
Mobile Results:
Chrome 5 runs
Array join
4K/s
String concatentation
1K/s
Array join (w/ push)
68/s

Fastest: Array join (59.0x faster)

View exact numbers
  • Array join: 4,037 ops/sec
  • String concatentation: 1,377 ops/sec
  • Array join (w/ push): 68 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: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
Array join
10K/s
String concatentation
3K/s
Array join (w/ push)
22/s
View exact numbers
Test name Executions per second
Array join 9,767 Ops/sec
String concatentation 3,144 Ops/sec
Array join (w/ push) 22 Ops/sec