Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.6
Mobile
3 years ago
Test name Executions per second
$.grep 2670811.5 Ops/sec
array.find 3265672.2 Ops/sec
array.where 3512650.2 Ops/sec
angular.$filter 1084923.1 Ops/sec
array.filter 2248859.2 Ops/sec
lodash.filter 2639486.0 Ops/sec
underscore.filter 2155096.0 Ops/sec
grepAlone 2724476.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;