Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
3 years ago
Test name Executions per second
$.grep 1356385.0 Ops/sec
array.find 2157407.2 Ops/sec
array.where 1499655.1 Ops/sec
angular.$filter 643133.2 Ops/sec
array.filter 1536117.8 Ops/sec
lodash.filter 1562957.4 Ops/sec
underscore.filter 1489018.4 Ops/sec
grepAlone 1629268.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;