Run details:
Mozilla/5.0 (Linux; Android 9; ONEPLUS A3000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
$.grep 408824.1 Ops/sec
array.find 130842.3 Ops/sec
array.where 582608.8 Ops/sec
angular.$filter 279619.2 Ops/sec
array.filter 212707.0 Ops/sec
lodash.filter 375152.0 Ops/sec
underscore.filter 409869.2 Ops/sec
grepAlone 425658.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;