Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
$.grep 1920619.9 Ops/sec
array.find 644964.3 Ops/sec
array.where 2833006.0 Ops/sec
angular.$filter 1038704.9 Ops/sec
array.filter 738510.2 Ops/sec
lodash.filter 566579.6 Ops/sec
underscore.filter 750403.6 Ops/sec
grepAlone 1894965.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;