Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6013) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.93 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
$.grep 781306.7 Ops/sec
array.find 335529.7 Ops/sec
array.where 1081175.0 Ops/sec
angular.$filter 255085.8 Ops/sec
array.filter 306276.2 Ops/sec
lodash.filter 782915.9 Ops/sec
underscore.filter 364948.9 Ops/sec
grepAlone 797414.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;