Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Mac OS X 10.15.7
Desktop
3 years ago
Test name Executions per second
$.grep 1695917.8 Ops/sec
array.find 552346.6 Ops/sec
array.where 2846752.8 Ops/sec
angular.$filter 951445.4 Ops/sec
array.filter 184631.1 Ops/sec
lodash.filter 1767760.5 Ops/sec
underscore.filter 1699013.0 Ops/sec
grepAlone 1889075.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;