Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36
Chrome 88
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 826527.2 Ops/sec
array.find 387218.9 Ops/sec
array.where 1321087.0 Ops/sec
angular.$filter 625559.2 Ops/sec
array.filter 374279.4 Ops/sec
lodash.filter 884703.1 Ops/sec
underscore.filter 872741.5 Ops/sec
grepAlone 934631.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;