lighthouse 9.5.0-dev.20221208 → 9.5.0-dev.20221210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -87,7 +87,7 @@ class TimingSummary {
|
|
|
87
87
|
cumulativeLayoutShiftMainFrame,
|
|
88
88
|
totalCumulativeLayoutShift,
|
|
89
89
|
|
|
90
|
-
// Include all timestamps of interest from
|
|
90
|
+
// Include all timestamps of interest from the processed trace
|
|
91
91
|
observedTimeOrigin: processedTrace.timings.timeOrigin,
|
|
92
92
|
observedTimeOriginTs: processedTrace.timestamps.timeOrigin,
|
|
93
93
|
// For now, navigationStart is always timeOrigin.
|
|
@@ -662,7 +662,7 @@ class TraceProcessor {
|
|
|
662
662
|
// define the frame tree. Unfortunately, many test traces do not that frame info due to minification.
|
|
663
663
|
// This ensures there is always a minimal frame tree and events so those tests don't fail.
|
|
664
664
|
log.warn(
|
|
665
|
-
'
|
|
665
|
+
'TraceProcessor',
|
|
666
666
|
'frameTreeEvents may be incomplete, make sure the trace has frame events'
|
|
667
667
|
);
|
|
668
668
|
frameIdToRootFrameId.set(mainFrameIds.frameId, mainFrameIds.frameId);
|
|
@@ -890,10 +890,11 @@ class TraceProcessor {
|
|
|
890
890
|
if (!firstMeaningfulPaint) {
|
|
891
891
|
const fmpCand = 'firstMeaningfulPaintCandidate';
|
|
892
892
|
fmpFellBack = true;
|
|
893
|
-
log.verbose('
|
|
893
|
+
log.verbose('TraceProcessor',
|
|
894
|
+
`No firstMeaningfulPaint found, falling back to last ${fmpCand}`);
|
|
894
895
|
const lastCandidate = frameEvents.filter(e => e.name === fmpCand).pop();
|
|
895
896
|
if (!lastCandidate) {
|
|
896
|
-
log.verbose('
|
|
897
|
+
log.verbose('TraceProcessor', 'No `firstMeaningfulPaintCandidate` events found in trace');
|
|
897
898
|
}
|
|
898
899
|
firstMeaningfulPaint = lastCandidate;
|
|
899
900
|
}
|
package/package.json
CHANGED