Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 2583677.2 Ops/sec
array.find 936263.3 Ops/sec
array.where 2658708.8 Ops/sec
angular.$filter 1542568.1 Ops/sec
array.filter 2381705.5 Ops/sec
lodash.filter 2090219.0 Ops/sec
underscore.filter 2064819.4 Ops/sec
grepAlone 2601967.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;