Skip to content

Commit 8940091

Browse files
Spencerspalger
andauthored
[ci-stats] record async chunk count (#80606)
Co-authored-by: spalger <spalger@users.noreply.github.com>
1 parent ec692a7 commit 8940091

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/kbn-optimizer/src/optimizer/get_output_stats.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ export function getMetrics(log: ToolingLog, config: OptimizerConfig) {
109109
id: bundle.id,
110110
value: sumSize(asyncChunks),
111111
},
112+
{
113+
group: `async chunk count`,
114+
id: bundle.id,
115+
value: asyncChunks.length,
116+
},
112117
{
113118
group: `miscellaneous assets size`,
114119
id: bundle.id,

0 commit comments

Comments
 (0)