Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36
Chrome 78
Linux
Desktop
5 years ago
Test name Executions per second
$.grep 1237419.9 Ops/sec
array.find 305500.7 Ops/sec
array.where 1772444.4 Ops/sec
angular.$filter 300653.7 Ops/sec
array.filter 334605.8 Ops/sec
lodash.filter 1258641.5 Ops/sec
underscore.filter 322204.1 Ops/sec
grepAlone 1288728.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;