Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Ubuntu
Desktop
3 years ago
Test name Executions per second
$.grep 1746413.6 Ops/sec
array.find 2500196.8 Ops/sec
array.where 1870361.4 Ops/sec
angular.$filter 767003.2 Ops/sec
array.filter 2074292.4 Ops/sec
lodash.filter 1247776.1 Ops/sec
underscore.filter 1106336.4 Ops/sec
grepAlone 2029803.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • $.grep

  • array.find

  • array.where

  • angular.$filter

  • array.filter

  • lodash.filter

  • underscore.filter

  • grepAlone


;