aboutsummaryrefslogtreecommitdiffstats
path: root/speed
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-10-10 15:36:02 -0400
committerjeresig <jeresig@gmail.com>2010-10-10 15:36:02 -0400
commitba149e78a93afa9eab544c7defe3ccf0d412345a (patch)
tree7bb030658e820f07cb13376f5f76b4e715a89b65 /speed
parenteb67d9941694d39a592228bc6da71def3e619b94 (diff)
downloadjquery-ba149e78a93afa9eab544c7defe3ccf0d412345a.tar.gz
jquery-ba149e78a93afa9eab544c7defe3ccf0d412345a.zip
Switch back to using Sizzle.matchesSelector.
Diffstat (limited to 'speed')
-rw-r--r--speed/filter.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/speed/filter.html b/speed/filter.html
index f24ed7d94..43ee94e52 100644
--- a/speed/filter.html
+++ b/speed/filter.html
@@ -14,8 +14,8 @@
setTimeout(function(){
name = "filter '" + item + "'";
jQuery("#results").append("<li>" + name + "<ul>" +
- "<li>new: " + benchmarkString("$('div').filter('" + item + "')", 1000, name) + "</li>" +
- "<li>old: " + benchmarkString("old('div').filter('" + item + "')", 1000, name) + "</li>" +
+ "<li>new: " + benchmarkString("$('div').filter('" + item + "')", 100, name) + "</li>" +
+ "<li>old: " + benchmarkString("old('div').filter('" + item + "')", 100, name) + "</li>" +
"</ul></li>");
jQuery("#results").append("<li>single " + name + "<ul>" +
"<li>new: " + benchmarkString("$('#nonexistant').filter('" + item + "')", 1000, name) + "</li>" +