Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Windows
Desktop
6 months ago
Test name Executions per second
$.grep 2620874.5 Ops/sec
array.find 801676.9 Ops/sec
array.where 3728787.5 Ops/sec
angular.$filter 2127691.8 Ops/sec
array.filter 1137817.2 Ops/sec
lodash.filter 865237.4 Ops/sec
underscore.filter 1208774.4 Ops/sec
grepAlone 2741642.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;