Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0
Firefox 75
Windows
Desktop
4 years ago
Test name Executions per second
$.grep 2527408.0 Ops/sec
array.find 861096.8 Ops/sec
array.where 2824192.8 Ops/sec
angular.$filter 1646394.8 Ops/sec
array.filter 2609204.8 Ops/sec
lodash.filter 2395200.0 Ops/sec
underscore.filter 2356245.2 Ops/sec
grepAlone 2663109.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;