Script Preparation code:
AخA
 
var array = [0, 1, 2, 3]
Tests:
  • array[0]

     
    const a = array[0]
  • array.at(0)

     
    const b = array.at(0)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array[0]
    array.at(0)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0
Firefox 139 on Windows
View result in a separate tab
Test name Executions per second
array[0] 461991520.0 Ops/sec
array.at(0) 369915328.0 Ops/sec