Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Chrome 79
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 1044948.6 Ops/sec
array.find 242573.2 Ops/sec
array.where 1693671.2 Ops/sec
angular.$filter 246187.0 Ops/sec
array.filter 236218.5 Ops/sec
lodash.filter 998056.9 Ops/sec
underscore.filter 247497.7 Ops/sec
grepAlone 1044960.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;