Tests:
  • for loop

  • Array.prototype.map

  • for loop using a sparse array

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for loop
    Array.prototype.map
    for loop using a sparse array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132 on Linux
View result in a separate tab
Test name Executions per second
for loop 802.8 Ops/sec
Array.prototype.map 684.4 Ops/sec
for loop using a sparse array 876.3 Ops/sec