Tests:
  • Using concat

  • Using prototype.push.apply

  • Using arr1.push.apply

  • Using push spread operator

  • Using spread operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using concat
    Using prototype.push.apply
    Using arr1.push.apply
    Using push spread operator
    Using spread operator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111 on Windows
View result in a separate tab
Test name Executions per second
Using concat 11051338.0 Ops/sec
Using prototype.push.apply 20110506.0 Ops/sec
Using arr1.push.apply 24538372.0 Ops/sec
Using push spread operator 25021052.0 Ops/sec
Using spread operator 9869415.0 Ops/sec


;