HTML Preparation code:
Script Preparation code:
Tests:
  • _.sumBy value

  • map and reduce

  • _.sumBy with map

  • sum with for of loop

  • sum with for loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    _.sumBy value
    map and reduce
    _.sumBy with map
    sum with for of loop
    sum with for loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 15 days 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
_.sumBy value 1225.5 Ops/sec
map and reduce 1912.5 Ops/sec
_.sumBy with map 1237.9 Ops/sec
sum with for of loop 14993.3 Ops/sec
sum with for loop 128.8 Ops/sec


;