Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
$.grep 2228268.5 Ops/sec
array.find 865539.9 Ops/sec
array.where 2449542.5 Ops/sec
angular.$filter 1356127.0 Ops/sec
array.filter 2319610.0 Ops/sec
lodash.filter 2284242.0 Ops/sec
underscore.filter 1151562.5 Ops/sec
grepAlone 2360651.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;