lighthouse 12.6.0-dev.20250430 → 12.6.0-dev.20250502
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.
|
@@ -40,7 +40,14 @@ class DocumentLatencyInsight extends Audit {
|
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
const details = Audit.makeChecklistDetails(insight.data.checklist);
|
|
44
|
+
details.debugData = {
|
|
45
|
+
type: 'debugdata',
|
|
46
|
+
redirectDuration: insight.data.redirectDuration,
|
|
47
|
+
serverResponseTime: insight.data.serverResponseTime,
|
|
48
|
+
uncompressedResponseBytes: insight.data.uncompressedResponseBytes,
|
|
49
|
+
};
|
|
50
|
+
return details;
|
|
44
51
|
});
|
|
45
52
|
}
|
|
46
53
|
}
|
|
@@ -77,7 +77,15 @@ class DOMSizeInsight extends Audit {
|
|
|
77
77
|
},
|
|
78
78
|
},
|
|
79
79
|
];
|
|
80
|
-
|
|
80
|
+
|
|
81
|
+
const details = Audit.makeTableDetails(headings, items);
|
|
82
|
+
details.debugData = {
|
|
83
|
+
type: 'debugdata',
|
|
84
|
+
totalElements,
|
|
85
|
+
maxChildren: maxChildren.numChildren,
|
|
86
|
+
maxDepth: maxDepth.depth,
|
|
87
|
+
};
|
|
88
|
+
return details;
|
|
81
89
|
});
|
|
82
90
|
}
|
|
83
91
|
}
|
|
@@ -75,6 +75,13 @@ async function adaptInsightToAuditProduct(artifacts, context, insightName, creat
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if (insight.wastedBytes !== undefined) {
|
|
79
|
+
if (!details.debugData) {
|
|
80
|
+
details.debugData = {type: 'debugdata'};
|
|
81
|
+
}
|
|
82
|
+
details.debugData.wastedBytes = insight.wastedBytes;
|
|
83
|
+
}
|
|
84
|
+
|
|
78
85
|
// This hack is to add metric adorners if an insight category links it to a metric,
|
|
79
86
|
// but doesn't output a metric savings for that metric.
|
|
80
87
|
let metricSavings = insight.metricSavings;
|
|
@@ -19,6 +19,7 @@ const config = {
|
|
|
19
19
|
skipAudits: [
|
|
20
20
|
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
|
|
21
21
|
'uses-http2',
|
|
22
|
+
'modern-http-insight',
|
|
22
23
|
// There are always bf-cache failures when testing in headless. Reenable when headless can give us realistic bf-cache insights.
|
|
23
24
|
'bf-cache',
|
|
24
25
|
],
|
|
@@ -18,6 +18,7 @@ const config = {
|
|
|
18
18
|
skipAudits: [
|
|
19
19
|
// Skip the h2 audit so it doesn't lie to us. See https://github.com/GoogleChrome/lighthouse/issues/6539
|
|
20
20
|
'uses-http2',
|
|
21
|
+
'modern-http-insight',
|
|
21
22
|
// There are always bf-cache failures when testing in headless. Reenable when headless can give us realistic bf-cache insights.
|
|
22
23
|
'bf-cache',
|
|
23
24
|
],
|
package/package.json
CHANGED