Closed
Bug 1437316
Opened 6 years ago
Closed 6 years ago
Still missing reflow markers in some cases
Categories
(Core :: Gecko Profiler, enhancement, P2)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: mstange, Assigned: canova)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(2 files)
Here's a profile which contains a long reflow for which there is no marker: https://perfht.ml/2Bjeqpn
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
It looks like our marker and developer tools' marker are in different places. We are adding a marker inside `PresShell::DoFlushPendingNotifications`[1] and developer tools adding it inside `PresShell::DoReflow` method[2]. DoReflow is the inner method and DoFlushPendingNotifications eventually calls it. The problem is that `DoFlushPendingNotifications` is not the only caller of the `DoReflow` method(For example `PresShell::sPaintSuppressionCallback` also calls[3]). Therefore, we are missing some cases. I think we can also move our marker inside `DoReflow` method to fix this. [1]: https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/layout/base/PresShell.cpp#4343-4347 [2]: https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/layout/base/PresShell.cpp#8943 [3]: https://searchfox.org/mozilla-central/rev/c3fef66a5b211ea8038c1c132706d02db408093a/layout/base/PresShell.cpp#2028
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D4943
Reporter | ||
Comment 4•6 years ago
|
||
Comment on attachment 9006278 [details] Bug 1437316 - Move the "PresShell::DoReflow" label frame to top side of the method r?mstange Markus Stange [:mstange] has approved the revision.
Attachment #9006278 -
Flags: review+
Reporter | ||
Comment 5•6 years ago
|
||
Comment on attachment 9006280 [details] Bug 1437316 - Move the profiler marker from DoFlushPendingNotifications to inner DoReflow method r?mstange Markus Stange [:mstange] has approved the revision.
Attachment #9006280 -
Flags: review+
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2e6315642e07 Move the "PresShell::DoReflow" label frame to top side of the method r=mstange
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c05f1fdd8e44 Move the profiler marker from DoFlushPendingNotifications to inner DoReflow method r=mstange
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2e6315642e07 https://hg.mozilla.org/mozilla-central/rev/c05f1fdd8e44
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
status-firefox60:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•