Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Windows
Desktop
3 years ago
Test name Executions per second
$.grep 932451.2 Ops/sec
array.find 2129255.2 Ops/sec
array.where 1538204.6 Ops/sec
angular.$filter 558631.1 Ops/sec
array.filter 1472447.1 Ops/sec
lodash.filter 1469789.1 Ops/sec
underscore.filter 1223447.2 Ops/sec
grepAlone 1398837.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;