Closed Bug 1260070 Opened 8 years ago Closed 6 years ago

Consider replacing "favor performance mode" with "favor native events right after RefreshDriver tick"

Categories

(Core :: Widget, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: smaug, Unassigned)

References

Details

(Whiteboard: tpi:-)

Attachments

(2 files)

Instead of totally removing "favor performance" mode, we could perhaps have the mode changing based on the state we're in animation frame. Right after a RefreshDriver tick we could try to process more user events (native events) and then closer to the tick focus on Gecko events. This would hopefully reduce the pressure around tick and lead to fewer missed ticks.
Attached patch v1Splinter Review
Something to try out. This might not improve responsiveness or anything, but
would make the setup simpler, which is a good thing itself.
We'll, in theory this could make us miss refresh driver ticks less frequently.

Let's see what the tryserver likes about this.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=c95827571e1ade183f7b6b42ef0db9245b10db2c
Whiteboard: tpi:-
this is now invalid. We have very different handling for input events. We try to align them closer to right-before-refreshdriver.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: