Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    map
    array.from
    for loop
    foreach
    slice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 18 days ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 17_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.103 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 131 on iOS 17.7.1
View result in a separate tab
Test name Executions per second
map 21055548.0 Ops/sec
array.from 41795576.0 Ops/sec
for loop 62599604.0 Ops/sec
foreach 41307140.0 Ops/sec
slice 81699400.0 Ops/sec