Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Linux
Desktop
one year ago
Test name Executions per second
$.grep 1188039.9 Ops/sec
array.find 1021326.1 Ops/sec
array.where 1402913.2 Ops/sec
angular.$filter 748114.4 Ops/sec
array.filter 1026638.6 Ops/sec
lodash.filter 815329.4 Ops/sec
underscore.filter 755128.8 Ops/sec
grepAlone 2769993.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;