Script Preparation code:
Tests:
  • shift

  • pop

  • splice(shift)

  • splice(pop)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    shift
    pop
    splice(shift)
    splice(pop)

    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: 7 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/82.0.4085.8 Safari/537.36
Chrome 82 on Mac OS X 10.15.3
View result in a separate tab
Test name Executions per second
shift 0.5 Ops/sec
pop 25.4 Ops/sec
splice(shift) 1.2 Ops/sec
splice(pop) 15.7 Ops/sec

Recommended literature: