Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Ubuntu
Desktop
3 months ago
Test name Executions per second
$.grep 2459963.5 Ops/sec
array.find 4403128.0 Ops/sec
array.where 2357176.8 Ops/sec
angular.$filter 1047227.6 Ops/sec
array.filter 2053039.0 Ops/sec
lodash.filter 1939523.0 Ops/sec
underscore.filter 1867710.4 Ops/sec
grepAlone 2418810.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;