Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 OPR/79.0.4143.50
Opera 79
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 1010087.2 Ops/sec
array.find 350047.9 Ops/sec
array.where 1670892.2 Ops/sec
angular.$filter 675623.8 Ops/sec
array.filter 436395.6 Ops/sec
lodash.filter 1042746.2 Ops/sec
underscore.filter 1096763.5 Ops/sec
grepAlone 1234983.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;