Closed
Bug 1371114
Opened 7 years ago
Closed 7 years ago
Add gecko profiler label for WebRender
Categories
(Core :: Graphics: WebRender, enhancement)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: pchang, Assigned: pchang)
Details
Attachments
(1 file)
With WR, we change the rasterization and composition flow. Therefore, we need to add labels for WR case.
Assignee | ||
Comment 1•7 years ago
|
||
I just added labels for RenderLayer/SendWRCmds/CompositeToTarget/Composite(RenderThread). This is the profiler link. https://perfht.ml/2rDYMjb
Comment hidden (mozreview-request) |
Assignee | ||
Comment 3•7 years ago
|
||
With gecko changes, we also need to change dev tool to create a row to display 'Renderer thread' labels. I will fire another git push request for it.
Assignee: nobody → howareyou322
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8875990 [details] Bug 1371114 - Add gecko profiler labels for WebRender, https://reviewboard.mozilla.org/r/147400/#review151804 ::: gfx/layers/wr/WebRenderLayerManager.cpp:232 (Diff revision 1) > > bool sync = mTarget != nullptr; > mLatestTransactionId = mTransactionIdAllocator->GetTransactionId(); > > + { > + GeckoProfilerTracingRAII tracer("Paint", "ForwardDPTransaction"); It's probably worth distinguishing the sync vs !sync cases here. Maybe just replace the marker with sync ? "ForwardDPTransactionSync" : "ForwardDPTransaction" ::: gfx/webrender_bindings/RenderThread.cpp:182 (Diff revision 1) > } > > void > RenderThread::UpdateAndRender(wr::WindowId aWindowId) > { > + Drop empty line
Attachment #8875990 -
Flags: review?(bugmail) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8875990 [details] Bug 1371114 - Add gecko profiler labels for WebRender, https://reviewboard.mozilla.org/r/147400/#review151804 > It's probably worth distinguishing the sync vs !sync cases here. Maybe just replace the marker with sync ? "ForwardDPTransactionSync" : "ForwardDPTransaction" Done > Drop empty line Done
Pushed by pchang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2629ca0641a7 Add gecko profiler labels for WebRender, r=kats
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2629ca0641a7
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•