Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:73.0) Gecko/20100101 Firefox/73.0
Firefox 73
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
$.grep 1590486.2 Ops/sec
array.find 559974.4 Ops/sec
array.where 1842166.5 Ops/sec
angular.$filter 998157.4 Ops/sec
array.filter 1671151.9 Ops/sec
lodash.filter 1586892.9 Ops/sec
underscore.filter 1604450.0 Ops/sec
grepAlone 1798347.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;