Script Preparation code:
AخA
 
var array = [1,2,3];
Tests:
  • arrayUnshift

     
    array.unshift(0);
  • arrayConcat

     
    array = array.concat([0])
  • arraySpread

     
    array = [0, ...array]
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    arrayUnshift
    arrayConcat
    arraySpread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Linux; Android 9; SM-G965F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75 on Android
View result in a separate tab
Test name Executions per second
arrayUnshift 14243.5 Ops/sec
arrayConcat 386.4 Ops/sec
arraySpread 92.0 Ops/sec