Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 2247847.0 Ops/sec
array.find 849851.2 Ops/sec
array.where 3707508.2 Ops/sec
angular.$filter 1385180.0 Ops/sec
array.filter 887440.8 Ops/sec
lodash.filter 2300113.8 Ops/sec
underscore.filter 2155578.0 Ops/sec
grepAlone 2735728.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;