Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
Chrome 90
Linux
Desktop
3 years ago
Test name Executions per second
$.grep 836067.8 Ops/sec
array.find 177764.5 Ops/sec
array.where 1529576.2 Ops/sec
angular.$filter 532743.2 Ops/sec
array.filter 265472.4 Ops/sec
lodash.filter 939881.2 Ops/sec
underscore.filter 802566.6 Ops/sec
grepAlone 1015005.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;