The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Sixteen Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
Page
Size (compressed)
First Load
% of Budget (350 KB)
/
26.88 KB
211.57 KB
60.45% (🟢 -0.51%)
/[page]
24.24 KB
208.93 KB
59.69% (+/- <0.01%)
/_error
727 B
185.4 KB
52.97% (+/- <0.01%)
/categories/[slug]
5.77 KB
190.46 KB
54.42% (🟢 -0.32%)
/favorite/bangumi
1.25 KB
185.94 KB
53.13% (+/- <0.01%)
/favorite/music
4.17 KB
188.86 KB
53.96% (🟢 -0.01%)
/friends
24.48 KB
209.17 KB
59.76% (🟢 -0.01%)
/notes/[id]
46.35 KB
231.05 KB
66.01% (🟢 -0.77%)
/notes/topics
4.69 KB
189.38 KB
54.11% (+/- <0.01%)
/notes/topics/[topicSlug]
12.31 KB
197 KB
56.29% (🟢 -0.01%)
/posts
24.73 KB
209.42 KB
59.84% (🟢 -0.01%)
/posts/[category]/[slug]
42.36 KB
227.05 KB
64.87% (🟢 -0.48%)
/projects/[id]
21.16 KB
205.85 KB
58.81% (+/- <0.01%)
/recently
70.33 KB
255.02 KB
72.86% (🟢 -0.59%)
/says
16.27 KB
200.96 KB
57.42% (🟢 -0.01%)
/timeline
15.61 KB
200.3 KB
57.23% (🟢 -0.01%)
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
📦 Next.js Bundle Analysis
This analysis was generated by the next.js bundle analysis action 🤖
🎉 Global Bundle Size Decreased
global
184.69 KB
(🟢 -2.37 KB)Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the
<script>
tag are not accounted for in this analysisIf you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Sixteen Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
350 KB
)/
26.88 KB
/[page]
24.24 KB
/_error
727 B
/categories/[slug]
5.77 KB
/favorite/bangumi
1.25 KB
/favorite/music
4.17 KB
/friends
24.48 KB
/notes/[id]
46.35 KB
/notes/topics
4.69 KB
/notes/topics/[topicSlug]
12.31 KB
/posts
24.73 KB
/posts/[category]/[slug]
42.36 KB
/projects/[id]
21.16 KB
/recently
70.33 KB
/says
16.27 KB
/timeline
15.61 KB
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If
next/link
is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.Any third party scripts you have added directly to your app using the
<script>
tag are not accounted for in this analysisThe "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.