Script Preparation code:
Tests:

Historical Performance Data aggregated from 124 community runs

Desktop Results:
Chrome 99 runs
arrayUnshift123
27K/s
arrayConcat123
1K/s
arraySpread123
98/s

Fastest: arrayUnshift123 (274.9x faster)

View exact numbers
  • arrayUnshift123: 27,071 ops/sec
  • arrayConcat123: 1,179 ops/sec
  • arraySpread123: 98 ops/sec
Firefox 25 runs
arrayUnshift123
558K/s
arrayConcat123
52/s
arraySpread123
12/s

Fastest: arrayUnshift123 (45959.5x faster)

View exact numbers
  • arrayUnshift123: 558,213 ops/sec
  • arrayConcat123: 52 ops/sec
  • arraySpread123: 12 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
    arrayUnshift123
    arrayConcat123
    arraySpread123

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Chrome 140 on Windows
View result in a separate tab
arrayUnshift123
51K/s
arrayConcat123
892/s
arraySpread123
137/s
View exact numbers
Test name Executions per second
arrayUnshift123 51,133 Ops/sec
arrayConcat123 892 Ops/sec
arraySpread123 137 Ops/sec