Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.98 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 1270121.0 Ops/sec
array.find 319198.6 Ops/sec
array.where 2111842.2 Ops/sec
angular.$filter 747432.8 Ops/sec
array.filter 346633.6 Ops/sec
lodash.filter 1437878.0 Ops/sec
underscore.filter 1253568.2 Ops/sec
grepAlone 1287388.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;