Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36
Chrome 62
Linux
Other
6 years ago
Test name Executions per second
$.grep 773378.0 Ops/sec
array.find 385123.5 Ops/sec
array.where 1075564.0 Ops/sec
angular.$filter 226757.6 Ops/sec
array.filter 342653.1 Ops/sec
lodash.filter 265872.4 Ops/sec
underscore.filter 260500.7 Ops/sec
grepAlone 812202.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;