Bug 16966 - Add benchmark/tests for querySelectorAll
Summary: Add benchmark/tests for querySelectorAll
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Website (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://dscoder.com/slickspeed/
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-21 22:37 PST by David Smith
Modified: 2008-01-23 22:15 PST (History)
0 users

See Also:


Attachments
the aforementioned benchmark (276.74 KB, patch)
2008-01-21 22:40 PST, David Smith
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2008-01-21 22:37:39 PST
weinig and I still owe a blog post on qSA, and everyone loves easy to interpret benchmark charts, so I modified the mootools test/benchmark in the following ways:

1) more iterations, so we can actually see variance
2) try/catch around each test so that one exception won't break every test after it
3) removed tests of selectors that webkit doesn't implement yet, so as to not throw off the resulting total
4) added a column for the native querySelectorAll implementation
Comment 1 David Smith 2008-01-21 22:40:17 PST
Created attachment 18598 [details]
the aforementioned benchmark
Comment 2 David Smith 2008-01-21 22:43:45 PST
Adding a URL to a copy of it on my site.
Comment 3 Adam Roben (:aroben) 2008-01-22 06:53:04 PST
Comment on attachment 18598 [details]
the aforementioned benchmark

What's the license covering the SlickSpeed benchmark? I think we'd need a LICENSE file in the slickspeed directory making this clear.

I also wonder whether this would be better placed in the WebKitTools directory?
Comment 4 Darin Adler 2008-01-22 10:18:30 PST
Comment on attachment 18598 [details]
the aforementioned benchmark

Seems OK to put this on the website.

It'd be a little better if there was something that indicated what was changed from the original slickspeed test. Presumably there's a reason we're hosting our own copy and it would be best to be clear on why.
Comment 5 David Smith 2008-01-22 10:19:28 PST
(In reply to comment #4)
> (From update of attachment 18598 [details] [edit])
> Seems OK to put this on the website.
> 
> It'd be a little better if there was something that indicated what was changed
> from the original slickspeed test. Presumably there's a reason we're hosting
> our own copy and it would be best to be clear on why.
> 

Sure. I'll add an explanatory paragraph about the changes before committing.