Tests:
  • Array.prototype.concat

  • push with spread operator

  • spread operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    push with spread operator
    spread operator

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71 on Windows
View result in a separate tab
Test name Executions per second
Array.prototype.concat 4893897.0 Ops/sec
push with spread operator 2058025.0 Ops/sec
spread operator 3463128.0 Ops/sec