Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
$.grep 82181.9 Ops/sec
array.where 87310.4 Ops/sec
angular.$filter 61786.6 Ops/sec
array.filter 58935.8 Ops/sec
lodash.filter 43971.1 Ops/sec
underscore.filter 58395.7 Ops/sec
grepAlone 255825.5 Ops/sec
fasterFilter 283844.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

  • fasterFilter


;