[Webkit-unassigned] [Bug 259835] New: Investigate the possibility of replacing twisted http server in run-benchmark with python3 http.server

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 4 12:51:09 PDT 2023


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

            Bug ID: 259835
           Summary: Investigate the possibility of replacing twisted http
                    server in run-benchmark with python3 http.server
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dewei_zhu at apple.com

Investigate the possibility of replacing twisted http server in run-benchmark with python3 http.server.
Moving to python3 http.server would have following benefits:
1. Remove the dependency of Twisted, which could be an issue for some users local environment.
2. Speedup the first run for run-benchmark, which installs twisted if no local installation

The reason the initial version does not use python2 built-in http server is because sometimes the http server fails to server the content.
We should ensure python3 version does not have this issue.
Furthermore, we also need to make sure the benchmark score does not change by switching between different http servers.
Base on above, it seems reasonable to implement http.server version separately and use a flag to switch to http.server.

-- 
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/20230804/7c6e6ade/attachment.htm>


More information about the webkit-unassigned mailing list