Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Linux
Desktop
5 months ago
Test name Executions per second
$.grep 1792948.8 Ops/sec
array.find 735917.1 Ops/sec
array.where 2912160.0 Ops/sec
angular.$filter 1477750.0 Ops/sec
array.filter 755814.4 Ops/sec
lodash.filter 598915.1 Ops/sec
underscore.filter 752944.4 Ops/sec
grepAlone 2105987.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;