Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Firefox 77
Ubuntu
Desktop
4 years ago
Test name Executions per second
$.grep 1947368.9 Ops/sec
array.find 768540.9 Ops/sec
array.where 1953835.4 Ops/sec
angular.$filter 1171417.6 Ops/sec
array.filter 2001643.8 Ops/sec
lodash.filter 1711533.5 Ops/sec
underscore.filter 1656916.8 Ops/sec
grepAlone 1863905.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;