Script Preparation code:
Tests:
  • map comparison: for..of

  • map comparison: .map

  • reduce comparision: for..of

  • reduce comparision: .reduce

  • raw iteration: for..of

  • raw iteration: forEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    map comparison: for..of
    map comparison: .map
    reduce comparision: for..of
    reduce comparision: .reduce
    raw iteration: for..of
    raw iteration: forEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
map comparison: for..of 85.6 Ops/sec
map comparison: .map 132.2 Ops/sec
reduce comparision: for..of 182.5 Ops/sec
reduce comparision: .reduce 121.9 Ops/sec
raw iteration: for..of 207.4 Ops/sec
raw iteration: forEach 263.3 Ops/sec


;