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 1140930.5 Ops/sec
array.filter 3194424.8 Ops/sec
lodash.filter 2967031.8 Ops/sec
underscore.filter 2652011.2 Ops/sec
grepAlone 3114016.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;