Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Firefox 44
Windows
Desktop
4 years ago
Test name Executions per second
$.grep 2525528.2 Ops/sec
array.find 349442.6 Ops/sec
array.where 2800475.5 Ops/sec
angular.$filter 752589.8 Ops/sec
array.filter 2831909.8 Ops/sec
lodash.filter 2713918.0 Ops/sec
underscore.filter 1823803.2 Ops/sec
grepAlone 2759425.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;