Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
$.grep 1642338.1 Ops/sec
array.find 2310227.5 Ops/sec
array.where 1646113.4 Ops/sec
angular.$filter 722983.2 Ops/sec
array.filter 1902315.8 Ops/sec
lodash.filter 1766297.4 Ops/sec
underscore.filter 1443623.5 Ops/sec
grepAlone 1702328.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;