Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 OPR/98.0.0.0
Opera 98
Linux
Desktop
one year ago
Test name Executions per second
$.grep 3230700.0 Ops/sec
array.find 1280735.4 Ops/sec
array.where 3421906.5 Ops/sec
angular.$filter 1331163.9 Ops/sec
array.filter 1306501.0 Ops/sec
lodash.filter 880788.1 Ops/sec
underscore.filter 1359489.2 Ops/sec
grepAlone 2787082.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;