Script Preparation code:
Tests:

Historical Performance Data aggregated from 21 community runs

Desktop Results:
Chrome 13 runs
array.pop()
28/s
array[index]
28/s
View exact numbers
  • array.pop(): 28 ops/sec
  • array[index]: 28 ops/sec
Firefox 8 runs
array[index]
29/s
array.pop()
28/s
View exact numbers
  • array[index]: 29 ops/sec
  • array.pop(): 28 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array[index]
    array.pop()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0
Firefox 144 on Mac OS X 10.15
View result in a separate tab
array[index]
43/s
array.pop()
42/s
View exact numbers
Test name Executions per second
array[index] 43 Ops/sec
array.pop() 42 Ops/sec