Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.79 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 1633332.9 Ops/sec
array.find 640632.8 Ops/sec
array.where 2544053.8 Ops/sec
angular.$filter 988664.4 Ops/sec
array.filter 669678.9 Ops/sec
lodash.filter 527427.2 Ops/sec
underscore.filter 1537817.0 Ops/sec
grepAlone 1802283.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;