Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.2 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.7.1
Mobile
3 years ago
Test name Executions per second
$.grep 1456352.9 Ops/sec
array.find 1901623.4 Ops/sec
array.where 2056976.5 Ops/sec
angular.$filter 660980.6 Ops/sec
array.filter 1345460.6 Ops/sec
lodash.filter 1462833.6 Ops/sec
underscore.filter 1269658.9 Ops/sec
grepAlone 1569466.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;