Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko
IE 11
Windows
Desktop
4 years ago
Test name Executions per second
$.grep 649615.9 Ops/sec
array.find 338010.8 Ops/sec
array.where 724636.9 Ops/sec
angular.$filter 414443.8 Ops/sec
array.filter 407376.7 Ops/sec
lodash.filter 385653.5 Ops/sec
underscore.filter 284931.5 Ops/sec
grepAlone 599148.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;