Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
$.grep 3338948.2 Ops/sec
array.find 1356939.8 Ops/sec
array.where 4928717.5 Ops/sec
angular.$filter 2023912.1 Ops/sec
array.filter 1455741.2 Ops/sec
lodash.filter 1139232.2 Ops/sec
underscore.filter 1546287.0 Ops/sec
grepAlone 3414932.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;