Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 1292636.1 Ops/sec
array.find 460560.6 Ops/sec
array.where 2043435.8 Ops/sec
angular.$filter 741492.8 Ops/sec
array.filter 477840.5 Ops/sec
lodash.filter 1366752.5 Ops/sec
underscore.filter 1224751.5 Ops/sec
grepAlone 1332990.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;