Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Chrome 83
Linux
Desktop
4 years ago
Test name Executions per second
$.grep 941685.8 Ops/sec
array.find 270107.5 Ops/sec
array.where 1706274.0 Ops/sec
angular.$filter 594357.5 Ops/sec
array.filter 215522.4 Ops/sec
lodash.filter 1136711.9 Ops/sec
underscore.filter 1020880.8 Ops/sec
grepAlone 1134838.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;