Run details:
Mozilla/5.0 (Linux; Android 10; SM-A505FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
3 years ago
Test name Executions per second
$.grep 181975.9 Ops/sec
array.find 142783.6 Ops/sec
array.where 267468.9 Ops/sec
angular.$filter 150657.3 Ops/sec
array.filter 184731.9 Ops/sec
lodash.filter 147145.2 Ops/sec
underscore.filter 186628.3 Ops/sec
grepAlone 461111.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;