Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Safari/537.36
Chrome 101
Linux
Desktop
2 years ago
Test name Executions per second
$.grep 1986168.6 Ops/sec
array.find 752753.8 Ops/sec
array.where 2935423.2 Ops/sec
angular.$filter 1084874.2 Ops/sec
array.filter 911547.2 Ops/sec
lodash.filter 2125032.0 Ops/sec
underscore.filter 1990291.8 Ops/sec
grepAlone 2031695.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;