Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
one year ago
Test name Executions per second
$.grep 2813966.0 Ops/sec
array.find 1025030.3 Ops/sec
array.where 3746610.0 Ops/sec
angular.$filter 1420332.4 Ops/sec
array.filter 1074896.8 Ops/sec
lodash.filter 815965.6 Ops/sec
underscore.filter 1182860.6 Ops/sec
grepAlone 2797080.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;