Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
arr 0
154.3M/s
at -1
152.2M/s
arr length
147.9M/s
slice
49.2M/s

Fastest: arr 0 (3.1x faster)

View exact numbers
  • arr 0: 154,286,912 ops/sec
  • at -1: 152,150,176 ops/sec
  • arr length: 147,884,656 ops/sec
  • slice: 49,221,828 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
    arr 0
    arr length
    at -1
    slice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Firefox 140 on Linux
View result in a separate tab
arr length
253.9M/s
arr 0
238.8M/s
at -1
169.2M/s
slice
7.0M/s
View exact numbers
Test name Executions per second
arr length 253,929,808 Ops/sec
arr 0 238,784,928 Ops/sec
at -1 169,233,136 Ops/sec
slice 6,988,096 Ops/sec