Script Preparation code:
AخA
 
var arr1 = [4, 2, 1, 22, 27, 33, 88];
var arr2 = [4, 2, 1, 55, 53, 22, 44];
Tests:
  • Concat

     
    arr1 = arr1.concat(arr2);
  • Push

     
    arr1.push(arr2)
  • Spread syntax

     
    arr1 = [...arr1, arr2]
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Concat
    Push
    Spread syntax

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78
Chrome 109 on Windows
View result in a separate tab
Test name Executions per second
Concat 1563.2 Ops/sec
Push 4413375.5 Ops/sec
Spread syntax 2.6 Ops/sec