Script Preparation code:
Tests:
  • Array.prototype.concat

  • Spread operator

  • Array.prototype.push

  • Array.prototype.push with assignment

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85 on Linux
View result in a separate tab
Test name Executions per second
Array.prototype.concat 90.3 Ops/sec
Spread operator 1.7 Ops/sec
Array.prototype.push 10378.4 Ops/sec
Array.prototype.push with assignment 10775.9 Ops/sec


;