[Webkit-unassigned] [Bug 173116] New: webkitpy: Reduce polling in ServerProcess

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 8 15:01:40 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173116

            Bug ID: 173116
           Summary: webkitpy: Reduce polling in ServerProcess
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jbedard at apple.com
                CC: lforschler at apple.com

Every time 'has_crashed' is called, a ServerProcess will poll it's process to determine if a crash has occurred. This issue with this approach is that on some platforms, polling may be an expensive feature. The ServerProcess checks its crash every time a line is accessed from stdout or stderr, even if the data for that line is already cached in Python.  Additionally, the driver checks if the ServerProcess has crashed before reading the next line from either standard error or standard out.

We should reduce the amount of polling ServerProcess does so that it is only polling when polling is actually required.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170608/55af715e/attachment.html>


More information about the webkit-unassigned mailing list