Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 2323418.8 Ops/sec
array.find 790341.6 Ops/sec
array.where 2600541.5 Ops/sec
angular.$filter 1582845.9 Ops/sec
array.filter 2418764.5 Ops/sec
lodash.filter 2207465.2 Ops/sec
underscore.filter 2262053.8 Ops/sec
grepAlone 2506498.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;