Lodash Chain vs Native (with &&) vs Native (without &&) vs Flow, with actual filtering

one year ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Test name Executions per second
Chain 1.1 Ops/sec
Native (with &&) 6.7 Ops/sec
Native (without &&) 1.0 Ops/sec
Flow 1.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Chain

  • Native (with &&)

  • Native (without &&)

  • Flow

Open this result on MeasureThat.net