Tests:
  • Array.prototype.concat

  • spread operator

  • Concat empty array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    spread operator
    Concat empty array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Safari Line/13.2.0
Mobile Safari 16 on iOS 16.1
View result in a separate tab
Test name Executions per second
Array.prototype.concat 12342266.0 Ops/sec
spread operator 165689824.0 Ops/sec
Concat empty array 3831363.2 Ops/sec