Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array[] array.length - 1
    Array.at() -1
    Array[] cached array.length - 1

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Chrome 133 on Windows
View result in a separate tab
Array.at() -1
36.0M/s
Array[] array.length - 1
34.4M/s
Array[] cached array.length - 1
33.5M/s
View exact numbers
Test name Executions per second
Array.at() -1 35,951,580 Ops/sec
Array[] array.length - 1 34,375,700 Ops/sec
Array[] cached array.length - 1 33,454,528 Ops/sec