Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
Chrome 81
Windows 7
Desktop
3 years ago
Test name Executions per second
$.grep 1283945.1 Ops/sec
array.find 631249.4 Ops/sec
array.where 1993009.2 Ops/sec
angular.$filter 535947.7 Ops/sec
array.filter 551849.9 Ops/sec
lodash.filter 1381949.2 Ops/sec
underscore.filter 731394.2 Ops/sec
grepAlone 1327523.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;