Run details:
Mozilla/5.0 (Linux; Android 10; LYA-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
$.grep 763622.3 Ops/sec
array.find 322927.7 Ops/sec
array.where 1023046.0 Ops/sec
angular.$filter 437346.0 Ops/sec
array.filter 402120.3 Ops/sec
lodash.filter 752712.8 Ops/sec
underscore.filter 704434.4 Ops/sec
grepAlone 742121.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone