Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 1478430.4 Ops/sec
array.find 599082.2 Ops/sec
array.where 2244289.5 Ops/sec
angular.$filter 903098.1 Ops/sec
array.filter 542101.6 Ops/sec
lodash.filter 426152.1 Ops/sec
underscore.filter 692834.9 Ops/sec
grepAlone 1526530.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;