Script Preparation code:
Tests:
  • for with init array

  • for with init length and array

  • for ... of

  • .map

  • .forEach

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: 3 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
Test name Executions per second
for with init array 403.5 Ops/sec
for with init length and array 392.2 Ops/sec
for ... of 184.8 Ops/sec
.map 101.2 Ops/sec
.forEach 96.4 Ops/sec