WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
51721
fast/encoding/parser-tests.html is slow on debug builds
https://bugs.webkit.org/show_bug.cgi?id=51721
Summary
fast/encoding/parser-tests.html is slow on debug builds
Mihai Parparita
Reported
2010-12-29 13:17:25 PST
fast/encoding/parser-tests.html (added by
http://trac.webkit.org/changeset/73756
) takes 25 seconds+ to run with debug builds:
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fencoding%2Fparser-tests.html
This makes it much more likely to time out or flake if the test bot is under load. Since it looks like it's running multiple test cases, breaking up those into chunks may be a way to speed things up.
Attachments
patch
(50.55 KB, patch)
2011-01-04 13:04 PST
,
Jenn Braithwaite
no flags
Details
Formatted Diff
Diff
patch
(26.98 KB, patch)
2011-01-04 14:20 PST
,
Jenn Braithwaite
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2010-12-29 21:05:58 PST
Yeah, it should be easy to break unto a bunch of smaller tests.
Jenn Braithwaite
Comment 2
2011-01-04 13:04:51 PST
Created
attachment 77922
[details]
patch Broke up parser-tests.html to run 10 tests each. Every parser-tests-XX.html file is identical except for initial current and max values.
Mihai Parparita
Comment 3
2011-01-04 13:28:18 PST
Comment on
attachment 77922
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=77922&action=review
> LayoutTests/fast/encoding/parser-tests-10.html:20 > + <script>
Instead of repeating the harness script for every .html file, can you move it into a .js file in resources and reference it? Ideally it would also write out the text description (and expected failures), so that they don't have to be repeated either.
Jenn Braithwaite
Comment 4
2011-01-04 14:20:31 PST
Created
attachment 77930
[details]
patch Test suite logic moved into resources/parser-tests.js as suggested.
Mihai Parparita
Comment 5
2011-01-05 09:43:22 PST
Comment on
attachment 77930
[details]
patch Much better (unfortunately I'm not a reviewer so I can't r+ this).
Jenn Braithwaite
Comment 6
2011-01-05 09:56:10 PST
Adam, can you take a look as you reviewed the original patch? Thanks!
WebKit Commit Bot
Comment 7
2011-01-05 15:38:51 PST
Comment on
attachment 77930
[details]
patch Clearing flags on attachment: 77930 Committed
r75111
: <
http://trac.webkit.org/changeset/75111
>
WebKit Commit Bot
Comment 8
2011-01-05 15:38:56 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug