Tests:
  • concat

    AخA
     
    const a = [1, 2, 3];
    const b = [4, 5, 6];
    const c = a.concat(b);
  • spread

     
    const a = [1, 2, 3];
    const b = [4, 5, 6];
    const c = [...a, ...b];
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    concat
    spread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63 on Ubuntu
View result in a separate tab
Test name Executions per second
concat 7087197.5 Ops/sec
spread 7450744.5 Ops/sec