Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36
Chrome 101
Windows
Desktop
2 years ago
Test name Executions per second
$.grep 414188.2 Ops/sec
array.where 485450.8 Ops/sec
angular.$filter 298619.1 Ops/sec
array.filter 136832.4 Ops/sec
lodash.filter 88514.7 Ops/sec
underscore.filter 190883.8 Ops/sec
grepAlone 416817.5 Ops/sec
fasterFilter 553404.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

  • fasterFilter


;