Script Preparation code:
AخA
 
var t1 = [1,2,3,4,5,6,7,8,9,0];
var t2 = ['a', 'b', 'c', 'd', 'e'];
Tests:
  • spread

     
    const c = [...t1, ...t2];
  • concat

     
    const c = t1.concat(t2);
  • push

     
    t1.push(...t2);
    const c= t1;
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    spread
    concat
    push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Chrome 76 on Linux
View result in a separate tab
Test name Executions per second
spread 5072912.5 Ops/sec
concat 3480123.2 Ops/sec
push 2888457.8 Ops/sec