From: jeresig Date: Sun, 10 Oct 2010 18:51:11 +0000 (-0400) Subject: Also test for single element filtering. X-Git-Tag: 1.4.3rc1~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1f7bbd8939d1238c91942c6f0d49f9944f8db635;p=jquery.git Also test for single element filtering. --- diff --git a/speed/filter.html b/speed/filter.html index 876206d87..f24ed7d94 100644 --- a/speed/filter.html +++ b/speed/filter.html @@ -13,11 +13,14 @@ jQuery.each([".zoo", "#zoo", "[data-foo=zoo]", "#nonexistant"], function(i, item) { setTimeout(function(){ name = "filter '" + item + "'"; - jQuery("#results").append("
  • " + name + "
  • "); + "
  • old: " + benchmarkString("old('div').filter('" + item + "')", 1000, name) + "
  • " + + ""); + jQuery("#results").append("
  • single " + name + "
  • "); }, 100); }); }); @@ -26,6 +29,8 @@

    Hello

    +
    +