Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
$.grep 1222201.6 Ops/sec
array.find 493566.2 Ops/sec
array.where 1722131.0 Ops/sec
angular.$filter 771577.2 Ops/sec
array.filter 513595.1 Ops/sec
lodash.filter 1081629.1 Ops/sec
underscore.filter 1067041.9 Ops/sec
grepAlone 1082139.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;