Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Ubuntu
Desktop
2 years ago
Test name Executions per second
$.grep 1872690.1 Ops/sec
array.find 3956197.8 Ops/sec
array.where 2499389.0 Ops/sec
angular.$filter 768692.9 Ops/sec
array.filter 2445022.0 Ops/sec
lodash.filter 2482135.0 Ops/sec
underscore.filter 2224966.8 Ops/sec
grepAlone 2372329.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;