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: 9 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
_.sumBy value 1809.3 Ops/sec
map and reduce 3920.2 Ops/sec
_.sumBy with map 1456.0 Ops/sec
sum with for of loop 14252.7 Ops/sec
sum with for loop 206.8 Ops/sec