Closed Bug 1877787 Opened 2 years ago Closed 2 years ago

Avoid doing reduced precision computation when generating LCP

Categories

(Core :: DOM: Performance APIs, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: sefeng211, Assigned: sefeng211)

References

Details

(Whiteboard: [sp3])

Attachments

(1 file)

Should be a tiny improvement based on the profile in bug 1874756

When we generate LCP entries, we store the precision-reduced
timestamps which are convenient for later usages, but not very
performant. This patch makes it instead of storing the
precision-reduced timestamps, store the raw timestamps, and only
reduce the precision when they're being used by user code.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Attachment #9377476 - Attachment description: Bug 1877787 - Avoid doing reduced precision computation when generating LCP → Bug 1877787 - Avoid doing reduced precision computation when generating LCP r=emilio,tjr
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8011b3e764a9 Avoid doing reduced precision computation when generating LCP r=emilio,tjr
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: