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 941006.8 Ops/sec
array.find 485148.6 Ops/sec
array.where 1349522.0 Ops/sec
angular.$filter 233891.2 Ops/sec
array.filter 200987.8 Ops/sec
lodash.filter 424390.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;