Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
$.grep 1252259.6 Ops/sec
array.find 1576467.6 Ops/sec
array.where 1278711.6 Ops/sec
angular.$filter 531588.9 Ops/sec
array.filter 1310532.6 Ops/sec
lodash.filter 1378685.1 Ops/sec
underscore.filter 1299859.9 Ops/sec
grepAlone 1344543.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;