Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76
Ubuntu
Desktop
4 years ago
Test name Executions per second
$.grep 1651220.9 Ops/sec
array.find 649073.9 Ops/sec
array.where 1896738.5 Ops/sec
angular.$filter 1005717.3 Ops/sec
array.filter 1544068.9 Ops/sec
lodash.filter 1443811.8 Ops/sec
underscore.filter 1590216.1 Ops/sec
grepAlone 1792594.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;