Run details:
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_Z012DA) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/13.2 Chrome/83.0.4103.106 Mobile Safari/537.36
Chrome Mobile 83
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
$.grep 208543.9 Ops/sec
array.find 83107.5 Ops/sec
array.where 269507.0 Ops/sec
angular.$filter 152136.4 Ops/sec
array.filter 74670.5 Ops/sec
lodash.filter 222201.2 Ops/sec
underscore.filter 209771.9 Ops/sec
grepAlone 216845.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;