Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Ubuntu
Desktop
3 years ago
Test name Executions per second
$.grep 1734664.0 Ops/sec
array.find 3097663.2 Ops/sec
array.where 1940685.0 Ops/sec
angular.$filter 820047.1 Ops/sec
array.filter 2096213.4 Ops/sec
lodash.filter 1942104.2 Ops/sec
underscore.filter 1687715.6 Ops/sec
grepAlone 1969753.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;