Bug 207837 - [macOS] Add trace points for layer flush runloop observer
Summary: [macOS] Add trace points for layer flush runloop observer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-02-17 05:03 PST by Antti Koivisto
Modified: 2020-02-17 08:46 PST (History)
11 users (show)

See Also:


Attachments
patch (4.56 KB, patch)
2020-02-17 05:19 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (4.57 KB, patch)
2020-02-17 05:25 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
patch (6.40 KB, patch)
2020-02-17 06:51 PST, Antti Koivisto
sam: review+
Details | Formatted Diff | Diff
patch (6.39 KB, patch)
2020-02-17 08:00 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2020-02-17 05:03:46 PST
Add trace points to see how much layer flushes get delayed.
Comment 1 Antti Koivisto 2020-02-17 05:19:50 PST
Created attachment 390914 [details]
patch
Comment 2 Antti Koivisto 2020-02-17 05:25:59 PST
Created attachment 390915 [details]
patch
Comment 3 Antti Koivisto 2020-02-17 06:51:42 PST
Created attachment 390917 [details]
patch
Comment 4 Sam Weinig 2020-02-17 07:54:56 PST
Comment on attachment 390917 [details]
patch

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

> Source/WTF/ChangeLog:3
> +        [MacOS] Add trace points for layer flush runloop observer

lowercase m in [macOS].

> Source/WTF/wtf/SystemTracing.h:108
> +    LayerTreeFreezeStart,
> +    LayerTreeFreezeEnd,

Should mention these in the change log as well.
Comment 5 Antti Koivisto 2020-02-17 08:00:51 PST
Created attachment 390919 [details]
patch
Comment 6 Antti Koivisto 2020-02-17 08:01:32 PST
> Should mention these in the change log as well.

It was mentioned in WebKit changelog (where the other comments were).
Comment 7 WebKit Commit Bot 2020-02-17 08:45:33 PST
Comment on attachment 390919 [details]
patch

Clearing flags on attachment: 390919

Committed r256736: <https://trac.webkit.org/changeset/256736>
Comment 8 WebKit Commit Bot 2020-02-17 08:45:35 PST
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2020-02-17 08:46:14 PST
<rdar://problem/59512045>