WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47695
[Qt] WTR is sloooow
https://bugs.webkit.org/show_bug.cgi?id=47695
Summary
[Qt] WTR is sloooow
Balazs Kelemen
Reported
2010-10-14 15:49:54 PDT
Currently WTR is way slower than DRT. One of the reasons is that the timer interval in the RunUntilConditionLoop (that lives in TestControllerQt.cpp) is too big so we do not detect that the test had been finished at the web process side as soon as possible. With a 1 millisecond interval it runs passing tests almost a magnitude faster (I have tried it with LayoutTests/http and the result was 22.19 seconds against 146.34).
Attachments
proposed patch
(1.18 KB, patch)
2010-10-14 15:55 PDT
,
Balazs Kelemen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Balazs Kelemen
Comment 1
2010-10-14 15:55:30 PDT
Created
attachment 70791
[details]
proposed patch
Antonio Gomes
Comment 2
2010-10-14 16:49:09 PDT
Do other ports have the same timer mechanism? I assume there is no drawback with this patch ...
Csaba Osztrogonác
Comment 3
2010-10-14 23:32:12 PDT
Comment on
attachment 70791
[details]
proposed patch Clearing flags on attachment: 70791 Committed
r69839
: <
http://trac.webkit.org/changeset/69839
>
Csaba Osztrogonác
Comment 4
2010-10-14 23:32:21 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 5
2010-10-15 00:02:03 PDT
before the patch: 3684.45s total testing time after patch landed: 1415.56s total testing time Thanks for the speedup. ;)
Balazs Kelemen
Comment 6
2010-10-15 01:27:13 PDT
(In reply to
comment #2
)
> Do other ports have the same timer mechanism? I assume there is no drawback with this patch ...
They have more direct API for that task. See the implementation of TestController::runUntil in TestControllerWin.cpp and TestControllerMac.cpp. If you have an idea about how can we do it more effectively, feel free to rewrite my stuff ;)
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