Run details:
Mozilla/5.0 (Linux; Android 9; LG-H870DS) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.136 Mobile Safari/537.36
Chrome Mobile 79
Android
Mobile
4 years ago
Test name Executions per second
$.grep 483518.0 Ops/sec
array.find 202275.0 Ops/sec
array.where 703516.6 Ops/sec
angular.$filter 138610.7 Ops/sec
array.filter 196351.9 Ops/sec
lodash.filter 424605.2 Ops/sec
underscore.filter 181369.4 Ops/sec
grepAlone 415336.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;