Bug 213217 - [iOS] Collecting screen properties in the UI process introduced a Safari launch time regression.
Summary: [iOS] Collecting screen properties in the UI process introduced a Safari laun...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-15 14:54 PDT by Per Arne Vollan
Modified: 2020-06-16 08:00 PDT (History)
3 users (show)

See Also:


Attachments
Patch (6.39 KB, patch)
2020-06-15 15:04 PDT, Per Arne Vollan
bfulgham: review+
Details | Formatted Diff | Diff
Patch (6.42 KB, patch)
2020-06-15 16:05 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2020-06-15 14:54:24 PDT
Calling collectScreenProperties() in WebProcessPool::platformInitializeWebProcess() introduced a Safari launch time regression on iOS.
Comment 1 Per Arne Vollan 2020-06-15 15:03:27 PDT
rdar://problem/64374461
Comment 2 Per Arne Vollan 2020-06-15 15:04:29 PDT
Created attachment 401943 [details]
Patch
Comment 3 Brent Fulgham 2020-06-15 16:01:33 PDT
Comment on attachment 401943 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=401943&action=review

r=me

> Source/WebCore/ChangeLog:4
> +        https://bugs.webkit.org/show_bug.cgi?id=213217

<rdar://problem/64374461>

> Source/WebCore/ChangeLog:11
> +        the UI process.

It's a shame this code has to differ between macOS and iOS.
Comment 4 Per Arne Vollan 2020-06-15 16:05:33 PDT
Created attachment 401952 [details]
Patch
Comment 5 Per Arne Vollan 2020-06-15 16:06:12 PDT
(In reply to Brent Fulgham from comment #3)
> Comment on attachment 401943 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=401943&action=review
> 
> r=me
> 
> > Source/WebCore/ChangeLog:4
> > +        https://bugs.webkit.org/show_bug.cgi?id=213217
> 
> <rdar://problem/64374461>
> 

Fixed.

> > Source/WebCore/ChangeLog:11
> > +        the UI process.
> 
> It's a shame this code has to differ between macOS and iOS.

Thanks for reviewing!
Comment 6 EWS 2020-06-16 08:00:40 PDT
Committed r263090: <https://trac.webkit.org/changeset/263090>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401952 [details].