Run details:
Mozilla/5.0 (Linux; Android 10; SM-G960F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
$.grep 499164.4 Ops/sec
array.find 151530.1 Ops/sec
array.where 564584.2 Ops/sec
angular.$filter 321370.6 Ops/sec
array.filter 276059.0 Ops/sec
lodash.filter 467793.3 Ops/sec
underscore.filter 462252.2 Ops/sec
grepAlone 462774.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;