2010-11-15 Andras Becsi <abecsi@webkit.org>
authorabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2010 21:33:16 +0000 (21:33 +0000)
committerabecsi@webkit.org <abecsi@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2010 21:33:16 +0000 (21:33 +0000)
commite242bde26e8689336183ae2862bd84fed531bd8f
treebda2052be211c70f63b379f4aa4da93606ab8479
parent4b974b5fec2e78bd29db3cc7d2ab1c08ab491522
2010-11-15  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Avoid polling in WebKitTestRunner.
        https://bugs.webkit.org/show_bug.cgi?id=49542

        Make the WK2 testing session about 10-15% faster and decrease random flakiness
        resulting from timing skew by removing the millisecond polling from TestControllerQt.

        * WebKitTestRunner/TestController.cpp:
        (WTR::TestController::didFinishLoadForFrame):
        * WebKitTestRunner/TestController.h:
        * WebKitTestRunner/TestInvocation.cpp:
        (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
        * WebKitTestRunner/mac/TestControllerMac.mm:
        (WTR::TestController::notifyDone): Add method stub.
        * WebKitTestRunner/qt/TestControllerQt.cpp:
        (WTR::TestControllerRunLoop::instance):
        (WTR::TestControllerRunLoop::start):
        (WTR::TestControllerRunLoop::stop):
        (WTR::TestControllerRunLoop::TestControllerRunLoop):
        (WTR::TestControllerRunLoop::timerEvent):
        (WTR::TestController::notifyDone):
        (WTR::TestController::platformRunUntil):
        * WebKitTestRunner/win/TestControllerWin.cpp:
        (WTR::TestController::notifyDone): Add method stub.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/WebKitTestRunner/TestController.cpp
WebKitTools/WebKitTestRunner/TestController.h
WebKitTools/WebKitTestRunner/TestInvocation.cpp
WebKitTools/WebKitTestRunner/mac/TestControllerMac.mm
WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp
WebKitTools/WebKitTestRunner/win/TestControllerWin.cpp