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
5 months ago
Test name Executions per second
$.grep 3209581.5 Ops/sec
array.find 1341067.6 Ops/sec
array.where 4657676.0 Ops/sec
angular.$filter 2717735.5 Ops/sec
array.filter 1298244.4 Ops/sec
lodash.filter 1212909.5 Ops/sec
underscore.filter 1435558.4 Ops/sec
grepAlone 3283229.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;