Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Windows
Desktop
3 years ago
Test name Executions per second
$.grep 1911654.8 Ops/sec
array.find 3158337.0 Ops/sec
array.where 2124087.2 Ops/sec
angular.$filter 810777.8 Ops/sec
array.filter 2008219.2 Ops/sec
lodash.filter 2113489.0 Ops/sec
underscore.filter 1887170.4 Ops/sec
grepAlone 2095807.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;