Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Mac OS X 10.15.7
Desktop
6 months ago
Test name Executions per second
$.grep 2920404.5 Ops/sec
array.find 1165834.9 Ops/sec
array.where 4319818.5 Ops/sec
angular.$filter 2235512.2 Ops/sec
array.filter 1161173.6 Ops/sec
lodash.filter 1085512.0 Ops/sec
underscore.filter 1271997.1 Ops/sec
grepAlone 3019552.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;