Rename our internal FirstContentfulPaint to FirstContentfulComposite
Categories
(Core :: Performance, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox94 | --- | fixed |
People
(Reporter: sefeng, Assigned: murali.venkata4, Mentored, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file)
After bug 1518999, now we have two versions of first contentful paint. We should rename the old one to FirstContentfulComposite.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Hi sefeng,
Would love to pick this bug.
I have looked at the revision for bug 1518999, but wasn't able to figure out the files which are carrying the older version of
"FirstContentfulPaint" i.e. which are to be renamed to "FirstContentfulComposite".
Could you please help me out. :D
Thanks
Reporter | ||
Comment 2•4 years ago
|
||
Hey, most of the things that need to be changed are in https://searchfox.org/mozilla-central/rev/d58860eb739af613774c942c3bb61754123e449b/dom/base/nsDOMNavigationTiming.cpp#441. There's a string literal "FirstContentfulPaint"
in this method, which is being used as the name of the marker, so this needs to be changed. Also the function name and the mContentfulPaint
member variable.
Does that help?
Renaming older versions of FirstContentfulPaint - literal,variables and method to FirstContentfulComposite
Depends on D109655
Updated•4 years ago
|
Thanks for the gui(In reply to Sean Feng [:sefeng] from comment #2)
Hey, most of the things that need to be changed are in https://searchfox.org/mozilla-central/rev/d58860eb739af613774c942c3bb61754123e449b/dom/base/nsDOMNavigationTiming.cpp#441. There's a string literal
"FirstContentfulPaint"
in this method, which is being used as the name of the marker, so this needs to be changed. Also the function name and themContentfulPaint
member variable.Does that help?
Yes sefeng, it did help a lot.
Thanks for the information.
Comment 5•3 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 6•3 years ago
|
||
Can anyone explain me the bug ?
Updated•3 years ago
|
Hi sefeng,
Sorry for the delay, was down with a bad fever. Thanks for bearing with me :D.
I have updated the patch with the suggested changes.
Could you also kindly help me figure out with the bug you have mentioned "Make TTI/TTFI to use first-contentful-paint instead of contentful composite".
Lastly, i see that there is a Bug 1691820 dependent on this bug, please let me know if can work on it :D.
Comment 8•3 years ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 9•3 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:murali.venkata4, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
bugherder |
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Description
•