Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:99.0) Gecko/20100101 Firefox/99.0
Firefox 99
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
$.grep 2631187.8 Ops/sec
array.find 7631869.0 Ops/sec
array.where 2873167.2 Ops/sec
angular.$filter 734470.8 Ops/sec
array.filter 1799497.9 Ops/sec
lodash.filter 1381134.6 Ops/sec
underscore.filter 1302860.8 Ops/sec
grepAlone 1305801.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;