Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Firefox 98
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
$.grep 2754199.8 Ops/sec
array.find 7684054.0 Ops/sec
array.where 3003908.2 Ops/sec
angular.$filter 1110963.4 Ops/sec
array.filter 3393247.5 Ops/sec
lodash.filter 3156521.2 Ops/sec
underscore.filter 2743790.0 Ops/sec
grepAlone 3044704.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;