HTML Preparation code:
Script Preparation code:
Tests:
  • native built-in filter

  • native logic for filter, map

  • using forEach

  • lodash chain

  • lodash not chain

  • native length refer

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    native built-in filter
    native logic for filter, map
    using forEach
    lodash chain
    lodash not chain
    native length refer

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Chrome 80 on Mac OS X 10.14.4
View result in a separate tab
Test name Executions per second
native built-in filter 1170.5 Ops/sec
native logic for filter, map 516.1 Ops/sec
using forEach 2036.9 Ops/sec
lodash chain 933.9 Ops/sec
lodash not chain 927.8 Ops/sec
native length refer 490.8 Ops/sec