Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
$.grep 2759022.0 Ops/sec
array.find 7799628.0 Ops/sec
array.where 3134709.0 Ops/sec
angular.$filter 1140931.0 Ops/sec
array.filter 3194425.0 Ops/sec
lodash.filter 2967032.0 Ops/sec
underscore.filter 2652011.0 Ops/sec
grepAlone 3114017.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone