HTML Preparation code:
Script Preparation code:
Tests:
  • Filter length

  • lodash sumBy

  • lodash filter chaining

  • manualMethod1

  • manualMethod2 (with lambda function test)

  • manualMethod3 (for-each loop, with lambda function test)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Filter length
    lodash sumBy
    lodash filter chaining
    manualMethod1
    manualMethod2 (with lambda function test)
    manualMethod3 (for-each loop, with lambda function test)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15
Safari 17 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Filter length 210.1 Ops/sec
lodash sumBy 354.1 Ops/sec
lodash filter chaining 212.5 Ops/sec
manualMethod1 355.1 Ops/sec
manualMethod2 (with lambda function test) 358.8 Ops/sec
manualMethod3 (for-each loop, with lambda function test) 328.4 Ops/sec


;