HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

  • fasterFilter

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    $.grep
    array.where
    angular.$filter
    array.filter
    lodash.filter
    underscore.filter
    grepAlone
    fasterFilter

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
$.grep 264611.1 Ops/sec
array.where 381672.3 Ops/sec
angular.$filter 251931.5 Ops/sec
array.filter 59560.7 Ops/sec
lodash.filter 72991.2 Ops/sec
underscore.filter 124977.0 Ops/sec
grepAlone 358862.6 Ops/sec
fasterFilter 554419.5 Ops/sec