Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
$.grep 1018937.5 Ops/sec
array.find 410621.5 Ops/sec
array.where 1581615.4 Ops/sec
angular.$filter 576839.1 Ops/sec
array.filter 443070.3 Ops/sec
lodash.filter 1062224.0 Ops/sec
underscore.filter 970683.7 Ops/sec
grepAlone 1002638.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;