Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Chrome 80
Windows
Desktop
4 years ago
Test name Executions per second
$.grep 1072607.1 Ops/sec
array.find 447311.6 Ops/sec
array.where 1687491.8 Ops/sec
angular.$filter 460949.7 Ops/sec
array.filter 402938.4 Ops/sec
lodash.filter 1115850.4 Ops/sec
underscore.filter 502143.7 Ops/sec
grepAlone 1156637.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;