[Webkit-unassigned] [Bug 192943] New: Moving non-critical initializations to a parallel thread can speed up process launch time by 15%.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 11:51:26 PST 2018


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

            Bug ID: 192943
           Summary: Moving non-critical initializations to a parallel
                    thread can speed up process launch time by 15%.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: skoppisetty at apple.com

Moving non-critical initializations to a parallel thread can speed up process launch time by 15%.
        <rdar://problem/46877677>.

        _RegisterApplication, _LSSetApplicationInformationItem and _accessibilityInitialize are non-critical work
        and they can be done in a parallel thread to speed up process launch time. Following times are measured
        from artraces captured under different scenarios. See <rdar://problem/46877677>.

        System Config:
        —————————————
        MacBook Pro (13-inch, Late 2013 model running 18E158)

        Clean system:
        —————————————
        Mean total process launch time: 166.56 ms
        Mean Process Launch time: 58.88 ms
        Mean Init New Web Process time: 74.64 ms

        Root with a clean trunk:
        —————————————
        Safari : 32656d6f
        Webkit: r239297

        Mean total process launch time: 176.53 ms
        Mean Process Launch time: 62.72 ms
        Mean Init New Web Process time: 83.6 ms

        Root with proposed changes on top of trunk:
        —————————————
        Safari : 32656d6f
        Webkit: r239297

        Mean total process launch time: 150.12 ms
        Mean Process Launch time: 64.19 ms
        Mean Init New Web Process time: 74.18 ms

        Perf Improvement:
        —————————————
        176.53 - 150.12 = 26.41 ms (~15%)

-- 
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/20181220/20f96166/attachment.html>


More information about the webkit-unassigned mailing list