Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A6010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
$.grep 719199.8 Ops/sec
array.find 255401.5 Ops/sec
array.where 1070380.0 Ops/sec
angular.$filter 426304.6 Ops/sec
array.filter 314364.8 Ops/sec
lodash.filter 714413.1 Ops/sec
underscore.filter 711844.6 Ops/sec
grepAlone 746675.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone