Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array.splice()
    array.shift()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 18_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Mobile/15E148 Safari/604.1
Mobile Safari 18 on iOS 18.4
View result in a separate tab
array.splice()
74.3M/s
array.shift()
6.2M/s
View exact numbers
Test name Executions per second
array.splice() 74,335,832 Ops/sec
array.shift() 6,202,673 Ops/sec