Run details:
Mozilla/5.0 (Linux; Android 8.0.0; PRA-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android 8.0.0
Mobile
4 years ago
Test name Executions per second
$.grep 181813.7 Ops/sec
array.find 69312.9 Ops/sec
array.where 229484.7 Ops/sec
angular.$filter 66985.5 Ops/sec
array.filter 61802.4 Ops/sec
lodash.filter 51338.5 Ops/sec
underscore.filter 70605.4 Ops/sec
grepAlone 186947.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;