Script Preparation code:
AخA
 
var arr = []
Tests:
  • .push()

     
    arr.push(42)
  • .unshift()

     
    arr.unshift(42)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    .push()
    .unshift()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Firefox 135 on Linux
View result in a separate tab
Test name Executions per second
.push() 16548820.0 Ops/sec
.unshift() 8693.2 Ops/sec