Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Chrome 86
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 1645899.5 Ops/sec
array.find 672151.7 Ops/sec
array.where 2569250.8 Ops/sec
angular.$filter 1129012.4 Ops/sec
array.filter 709199.4 Ops/sec
lodash.filter 1917721.8 Ops/sec
underscore.filter 1714664.2 Ops/sec
grepAlone 1755360.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;