Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Windows
Desktop
3 years ago
Test name Executions per second
$.grep 2752.7 Ops/sec
array.where 2970.6 Ops/sec
angular.$filter 2081.9 Ops/sec
array.filter 3270.2 Ops/sec
lodash.filter 2917.1 Ops/sec
underscore.filter 3006.2 Ops/sec
grepAlone 3206.3 Ops/sec
fasterFilter 2944.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

  • fasterFilter


;