Run details:
Mozilla/5.0 (Linux; Android 7.0; VTR-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36
Chrome Mobile 74
Android 7.0
Mobile
5 years ago
Test name Executions per second
$.grep 503727.7 Ops/sec
array.find 206614.5 Ops/sec
array.where 704633.9 Ops/sec
angular.$filter 161367.1 Ops/sec
array.filter 180131.0 Ops/sec
lodash.filter 473838.8 Ops/sec
underscore.filter 229521.5 Ops/sec
grepAlone 530544.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;