Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 1008809.0 Ops/sec
array.find 238451.8 Ops/sec
array.where 1581678.4 Ops/sec
angular.$filter 666304.2 Ops/sec
array.filter 331660.5 Ops/sec
lodash.filter 1154182.6 Ops/sec
underscore.filter 1135387.9 Ops/sec
grepAlone 1202403.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;