Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
one year ago
Test name Executions per second
$.grep 1620972.1 Ops/sec
array.find 696854.6 Ops/sec
array.where 2304718.5 Ops/sec
angular.$filter 986258.1 Ops/sec
array.filter 702861.9 Ops/sec
lodash.filter 559485.4 Ops/sec
underscore.filter 756437.3 Ops/sec
grepAlone 1679240.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;