Script Preparation code:
Tests:
  • forEach

  • reduce

  • map

  • filter

  • for

  • for..of

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    forEach
    reduce
    map
    filter
    for
    for..of

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Chrome 96 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
forEach 360.9 Ops/sec
reduce 356.5 Ops/sec
map 350.6 Ops/sec
filter 353.5 Ops/sec
for 307.2 Ops/sec
for..of 543.8 Ops/sec


;