Script Preparation code:
Tests:
  • Length = 0

  • Splice

  • Shift

  • Pop

  • array = []

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Length = 0
    Splice
    Shift
    Pop
    array = []

    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: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36
Chrome 94 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Length = 0 7576708.0 Ops/sec
Splice 5447181.0 Ops/sec
Shift 6872387.0 Ops/sec
Pop 6866808.0 Ops/sec
array = [] 9561419.0 Ops/sec