Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Chrome 54
Windows
Other
7 years ago
Test name Executions per second
$.grep 952983.9 Ops/sec
array.find 496638.2 Ops/sec
array.where 1355993.4 Ops/sec
angular.$filter 242568.0 Ops/sec
array.filter 202159.7 Ops/sec
lodash.filter 424104.8 Ops/sec
underscore.filter 432289.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;