Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
one year ago
Test name Executions per second
$.grep 1071018.9 Ops/sec
array.find 3253163.0 Ops/sec
array.where 1145821.6 Ops/sec
angular.$filter 333568.5 Ops/sec
array.filter 1129555.4 Ops/sec
lodash.filter 1106606.9 Ops/sec
underscore.filter 1060430.9 Ops/sec
grepAlone 873119.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;