Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for with init array
    for with init length and array
    for ... of
    .map
    .forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Chrome 144 on Windows
View result in a separate tab
for with init array
403/s
for with init length and array
392/s
for ... of
185/s
.map
101/s
.forEach
96/s
View exact numbers
Test name Executions per second
for with init array 403 Ops/sec
for with init length and array 392 Ops/sec
for ... of 185 Ops/sec
.map 101 Ops/sec
.forEach 96 Ops/sec