Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.5.1
Mobile
3 months ago
Test name Executions per second
$.grep 2714471.8 Ops/sec
array.find 3428856.5 Ops/sec
array.where 3645607.5 Ops/sec
angular.$filter 1126971.0 Ops/sec
array.filter 2408739.8 Ops/sec
lodash.filter 2128828.5 Ops/sec
underscore.filter 1742608.9 Ops/sec
grepAlone 2478204.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;