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 1423883.9 Ops/sec
array.find 294221.2 Ops/sec
array.where 2089465.4 Ops/sec
angular.$filter 293987.4 Ops/sec
array.filter 324235.8 Ops/sec
lodash.filter 1483487.6 Ops/sec
underscore.filter 307720.8 Ops/sec
grepAlone 1501659.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;