Descriptioncc: Don't attempt main thread synchronization if it is slow.
This patch:
1) Adds a critical_begin_main_frame_to_activate_is_fast flag.
2) Separates impl_latency_takes_priority_ into tree_priority_
and a scroll_handler_state_.
3) Replaces impl_latency_takes_priority with
ImplLatencyTakesPriority(), which is now a function of
the above and is now true when the main thread is too slow.
There is also a small change to the latency recovery logic that
estimates the main thread response time depending on whether
the the BeginMainFrame is critical or not.
BUG=469953
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/42ef946ac829db450d131ad06a399a85f9fe207f
Cr-Commit-Position: refs/heads/master@{#360500}
Patch Set 1 #
Total comments: 5
Patch Set 2 : rebase on 0 #Patch Set 3 : rebase on 1415763008; existing tests pass; new tests needed #
Total comments: 4
Patch Set 4 : Sami's review; rebase; new tests still needed #Patch Set 5 : new tests #
Total comments: 3
Patch Set 6 : rebase; change names; use enum class #
Messages
Total messages: 18 (5 generated)
|