Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 1525476.2 Ops/sec
array.find 676487.6 Ops/sec
array.where 2528359.5 Ops/sec
angular.$filter 845006.4 Ops/sec
array.filter 583565.9 Ops/sec
lodash.filter 1690661.5 Ops/sec
underscore.filter 1534519.0 Ops/sec
grepAlone 1616404.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;