Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.0.1
Mobile
3 years ago
Test name Executions per second
$.grep 1565177.5 Ops/sec
array.find 1813491.2 Ops/sec
array.where 2258242.2 Ops/sec
angular.$filter 689575.1 Ops/sec
array.filter 706962.4 Ops/sec
lodash.filter 1389794.1 Ops/sec
underscore.filter 1008582.2 Ops/sec
grepAlone 1134370.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;