Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Linux
Desktop
one year ago
Test name Executions per second
$.grep 2097686.0 Ops/sec
array.find 783408.6 Ops/sec
array.where 2801487.8 Ops/sec
angular.$filter 1044893.1 Ops/sec
array.filter 910099.4 Ops/sec
lodash.filter 697525.8 Ops/sec
underscore.filter 932020.3 Ops/sec
grepAlone 2057979.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;