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

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144 on Linux
View result in a separate tab
Test name Executions per second
$.grep 3953564.5 Ops/sec
array.find 725483.8 Ops/sec
array.where 4389145.5 Ops/sec
angular.$filter 1287848.2 Ops/sec
array.filter 4727769.0 Ops/sec
lodash.filter 526164.7 Ops/sec
underscore.filter 820523.1 Ops/sec
grepAlone 2789345.8 Ops/sec