Script Preparation code:
Tests:
  • array.push

  • spread operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array.push
    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: 12 days ago)
Mozilla/5.0 (Linux; Android 6.0.1; Redmi 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85 on Android 6.0.1
View result in a separate tab
Test name Executions per second
array.push 1119.8 Ops/sec
spread operator 934.4 Ops/sec

Recommended literature: