Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 41819.1 Ops/sec
array.where 43801.5 Ops/sec
angular.$filter 24499.1 Ops/sec
array.filter 48316.8 Ops/sec
lodash.filter 46132.3 Ops/sec
underscore.filter 35114.7 Ops/sec
grepAlone 47761.2 Ops/sec
fasterFilter 48159.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

  • fasterFilter


;