Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Chrome 80
Mac OS X 10.15.3
Desktop
4 years ago
Test name Executions per second
$.grep 1365275.1 Ops/sec
array.find 543224.8 Ops/sec
array.where 2324837.0 Ops/sec
angular.$filter 605095.3 Ops/sec
array.filter 514811.0 Ops/sec
lodash.filter 1497160.0 Ops/sec
underscore.filter 650378.7 Ops/sec
grepAlone 1558084.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;