Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
Lodash concat
173/s
Array.prototype.concat
160/s
forEach push
141/s
Array.prototype.push.apply()
133/s
push spread operator
132/s
spread operator
53/s

Fastest: Lodash concat (3.2x faster)

View exact numbers
  • Lodash concat: 173 ops/sec
  • Array.prototype.concat: 160 ops/sec
  • forEach push: 141 ops/sec
  • Array.prototype.push.apply(): 133 ops/sec
  • push spread operator: 132 ops/sec
  • spread operator: 53 ops/sec

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

Browser OS Engine User Agent When Created
Chrome 133 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 one year ago
Chrome 133 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 one year ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago
Chrome 120 Linux Benchmark.js Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 2 years ago