Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 YaBrowser/22.11.3.824 Yowser/2.5 Safari/537.36
Yandex Browser 22
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
$.grep 968104.4 Ops/sec
array.find 385441.8 Ops/sec
array.where 1211159.0 Ops/sec
angular.$filter 560327.9 Ops/sec
array.filter 406277.5 Ops/sec
lodash.filter 321913.4 Ops/sec
underscore.filter 470907.1 Ops/sec
grepAlone 866260.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;