Bug 33646 - Split websocket/tests/bad-sub-protocol.html
Summary: Split websocket/tests/bad-sub-protocol.html
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-13 19:16 PST by Fumitoshi Ukai
Modified: 2010-01-22 05:22 PST (History)
1 user (show)

See Also:


Attachments
Patch (13.79 KB, patch)
2010-01-21 01:16 PST, Fumitoshi Ukai
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fumitoshi Ukai 2010-01-13 19:16:09 PST
websocket/tests/bad-sub-protocol.html takes more than 1 sec.
I can be made faster by executing subtests in parallel.
Comment 1 Fumitoshi Ukai 2010-01-21 01:16:53 PST
Created attachment 47103 [details]
Patch
Comment 2 Darin Adler 2010-01-21 10:46:26 PST
You say “in parallel”. I guess you must be talking about the special Chromium run_webkit_tests script, because the WebKit run-webkit-tests script does not run tests in parallel.
Comment 3 Darin Adler 2010-01-21 10:46:50 PST
I believe that for the standard run-webkit-tests, splitting this up will make the test even slower.
Comment 4 Fumitoshi Ukai 2010-01-21 21:59:49 PST
(In reply to comment #3)
> I believe that for the standard run-webkit-tests, splitting this up will make
> the test even slower.

Yes, I thought the chromium run_webkit_tests scripts to make it run in parallel.

So, is it better to have one test that takes longer time than to have several tests each of which finishes soon?
Comment 5 Darin Adler 2010-01-21 23:16:11 PST
It’s better to have tests running in parallel on all platforms!
Comment 6 Maciej Stachowiak 2010-01-22 02:23:18 PST
Comment on attachment 47103 [details]
Patch

r=me
Comment 7 Fumitoshi Ukai 2010-01-22 03:57:38 PST
Committed r53692: <http://trac.webkit.org/changeset/53692>
Comment 8 Fumitoshi Ukai 2010-01-22 05:22:04 PST
(In reply to comment #5)
> It’s better to have tests running in parallel on all platforms!

File a bug as https://bugs.webkit.org/show_bug.cgi?id=34000