Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
$.grep 1377043.1 Ops/sec
array.find 495106.5 Ops/sec
array.where 2369324.2 Ops/sec
angular.$filter 1199090.9 Ops/sec
array.filter 551866.8 Ops/sec
lodash.filter 388385.1 Ops/sec
underscore.filter 552304.8 Ops/sec
grepAlone 1184090.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;