Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Chrome 74
Windows
Desktop
5 years ago
Test name Executions per second
Array concat 4469293.0 Ops/sec
Array spread 19542788.0 Ops/sec
Array concat - large numbers 3651737.8 Ops/sec
Array spread - large numbers 8008690.5 Ops/sec
Tests:
  • Array concat

  • Array spread

  • Array concat - large numbers

  • Array spread - large numbers