Run details:
Mozilla/5.0 (Linux; Android 10; ELE-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
$.grep 570737.5 Ops/sec
array.find 260772.2 Ops/sec
array.where 914766.1 Ops/sec
angular.$filter 536582.5 Ops/sec
array.filter 307704.4 Ops/sec
lodash.filter 645685.5 Ops/sec
underscore.filter 627993.9 Ops/sec
grepAlone 641432.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;