Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 1119330.6 Ops/sec
array.find 346192.8 Ops/sec
array.where 1788288.1 Ops/sec
angular.$filter 722129.9 Ops/sec
array.filter 525095.4 Ops/sec
lodash.filter 1234804.6 Ops/sec
underscore.filter 1167086.0 Ops/sec
grepAlone 1291707.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;