Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 OPR/79.0.4143.50
Opera 79
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 979096.6 Ops/sec
array.find 368352.9 Ops/sec
array.where 1352546.9 Ops/sec
angular.$filter 544542.1 Ops/sec
array.filter 440194.0 Ops/sec
lodash.filter 1092338.6 Ops/sec
underscore.filter 1058426.2 Ops/sec
grepAlone 1145779.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;