Run details:
Mozilla/5.0 (Linux; Android 9; JKM-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
$.grep 415147.3 Ops/sec
array.find 162527.4 Ops/sec
array.where 652561.4 Ops/sec
angular.$filter 263532.4 Ops/sec
array.filter 211890.3 Ops/sec
lodash.filter 434734.9 Ops/sec
underscore.filter 417488.4 Ops/sec
grepAlone 438435.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;