Descriptioncc: Measure compositor timing with finer granularity
Measures PrepareTiles, NotifyReadyToActivate, and
Activation times separately such that idle times
between actions don't polute results when the
main thread is in a high latency mode or when
actions are swap throttled.
Also cleans up how we measure commit times and
adds DCHECKs to make sure we don't ruin the ordering
expectations of the CompositorTimingHistory class.
Recording is only enabled while visible and we have
an output surface in order to avoid cleanup logic
skewing results.
BUG=406158, 500744
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/65acb94f9258f985cbceedcd3b816cc55cc9522f
Cr-Commit-Position: refs/heads/master@{#337539}
Committed: https://crrev.com/6874981ce0fc8bb4f8a61954136caec3c4c622ad
Cr-Commit-Position: refs/heads/master@{#337700}
Patch Set 1 #Patch Set 2 : fixes #
Total comments: 6
Patch Set 3 : add tests; ignore first 2 recordings; enable based on visibility #Patch Set 4 : rebase #Patch Set 5 : rebase; remove skipping logic; #
Total comments: 7
Patch Set 6 : address comments #Patch Set 7 : rebase #
Total comments: 15
Patch Set 8 : make order consistent; add comment #Patch Set 9 : fix dcheck assumptions #Patch Set 10 : don't reset timing history #
Dependent Patchsets: Messages
Total messages: 38 (11 generated)
|