Closed Bug 1675640 Opened 4 years ago Closed 3 years ago

Rename our internal FirstContentfulPaint to FirstContentfulComposite

Categories

(Core :: Performance, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
94 Branch
Performance Impact none
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.

Blocks: 1691820
Blocks: 1700697
Keywords: good-first-bug
Whiteboard: [qf-] → [qf-][lang=C++]
Mentor: sefeng

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

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

Assignee: nobody → murali.venkata4
Status: NEW → ASSIGNED

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 the mContentfulPaint member variable.

Does that help?

Yes sefeng, it did help a lot.
Thanks for the information.

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: murali.venkata4 → nobody
Status: ASSIGNED → NEW

Can anyone explain me the bug ?

Assignee: nobody → murali.venkata4
Status: NEW → ASSIGNED

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.

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: murali.venkata4 → nobody
Status: ASSIGNED → NEW
Assignee: nobody → murali.venkata4
Status: NEW → ASSIGNED

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.

Flags: needinfo?(sefeng)
Flags: needinfo?(murali.venkata4)
Attachment #9212259 - Attachment description: Bug 1675640 - Renaming internal FirstContentfulPaint to FirstContentfulComposite.r?sefeng → Bug 1675640 - Renaming internal FirstContentfulPaint to FirstContentfulComposite
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/60b737e0dbfb Renaming internal FirstContentfulPaint to FirstContentfulComposite r=sefeng,mstange
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
Blocks: 1733806
Flags: needinfo?(sefeng)
Performance Impact: --- → -
Whiteboard: [qf-][lang=C++] → [lang=C++]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: