Script Preparation code:
Tests:
  • foreach

  • for++

  • map

  • for of

  • for in

  • filter

  • reduce

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    foreach
    for++
    map
    for of
    for in
    filter
    reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
Test name Executions per second
foreach 17680.5 Ops/sec
for++ 8719.2 Ops/sec
map 15901.0 Ops/sec
for of 16862.6 Ops/sec
for in 6879.5 Ops/sec
filter 15346.7 Ops/sec
reduce 15703.6 Ops/sec