Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 2864136.0 Ops/sec
array.find 1131464.4 Ops/sec
array.where 3291281.2 Ops/sec
angular.$filter 1814431.0 Ops/sec
array.filter 3029666.8 Ops/sec
lodash.filter 2874583.0 Ops/sec
underscore.filter 1619873.0 Ops/sec
grepAlone 3191064.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;