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

Latest run results:
Run details: (Test run date: 5 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 4893896.5 Ops/sec
push with spread operator 2058024.9 Ops/sec
spread operator 3463128.2 Ops/sec