Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 1205097.2 Ops/sec
array.find 488838.2 Ops/sec
array.where 1858918.1 Ops/sec
angular.$filter 771625.9 Ops/sec
array.filter 562762.2 Ops/sec
lodash.filter 1342595.0 Ops/sec
underscore.filter 1310203.4 Ops/sec
grepAlone 1382087.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;