Script Preparation code:
AخA
 
var data = Array(1000000).fill({ filtering: true, mapping: 42 });
Tests:
  • Test length

     
    data[data.length - 1]
  • Test at

     
    data.at(-1)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Test length
    Test at

    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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Windows
View result in a separate tab
Test name Executions per second
Test length 15985812.0 Ops/sec
Test at 28831622.0 Ops/sec