Tests:
  • var z = array.at(-1);

  • selectedAssetKeys.slice(-1)?.[0]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    var z = array.at(-1);
    selectedAssetKeys.slice(-1)?.[0]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125 on Windows
View result in a separate tab
Test name Executions per second
var z = array.at(-1); 149524288.0 Ops/sec
selectedAssetKeys.slice(-1)?.[0] 54720648.0 Ops/sec


;