Skip to content

Conversation

enoldev
Copy link
Collaborator

@enoldev enoldev commented Sep 11, 2023

No description provided.

@github-actions
Copy link

github-actions bot commented Sep 11, 2023

📦 Next.js Bundle Analysis for @graphprotocol/docs

This analysis was generated by the Next.js Bundle Analysis action. 🤖

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 661.3 KB (-43 B)
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 analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/en/substreams 6.02 KB 667.32 KB 190.66%

Forty-eight 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)
/ar/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ar/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/cs/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (🟢 -0.01%)
/cs/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/de/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/de/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/en/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (🟢 -0.01%)
/en/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/es/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/es/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/fr/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/fr/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/ha/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ha/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/hi/cookbook/substreams-powered-subgraphs 71.24 KB 732.55 KB 209.30% (+/- <0.01%)
/hi/developing/substreams-powered-subgraphs-faq 8.8 KB 670.1 KB 191.46% (🟢 -0.01%)
/it/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/it/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/ja/cookbook/substreams-powered-subgraphs 70.25 KB 731.56 KB 209.02% (🟢 -0.01%)
/ja/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/ko/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ko/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/mr/cookbook/substreams-powered-subgraphs 71.22 KB 732.52 KB 209.29% (+/- <0.01%)
/mr/developing/substreams-powered-subgraphs-faq 8.79 KB 670.09 KB 191.45% (🟢 -0.01%)
/nl/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/nl/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/pl/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/pl/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/pt/cookbook/substreams-powered-subgraphs 70.53 KB 731.84 KB 209.10% (🟢 -0.01%)
/pt/developing/substreams-powered-subgraphs-faq 8 KB 669.3 KB 191.23% (🟢 -0.02%)
/ro/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ro/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/ru/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ru/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/sv/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/sv/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/tr/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/tr/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/uk/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/uk/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/ur/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/ur/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/vi/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (+/- <0.01%)
/vi/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/yo/cookbook/substreams-powered-subgraphs 70.26 KB 731.56 KB 209.02% (🟢 -0.01%)
/yo/developing/substreams-powered-subgraphs-faq 7.7 KB 669 KB 191.14% (🟢 -0.01%)
/zh/cookbook/substreams-powered-subgraphs 70.64 KB 731.95 KB 209.13% (🟢 -0.01%)
/zh/developing/substreams-powered-subgraphs-faq 8.06 KB 669.36 KB 191.25% (🟢 -0.02%)
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.

@enoldev enoldev marked this pull request as ready for review September 20, 2023 14:18
@enoldev enoldev requested a review from a team as a code owner September 20, 2023 14:18
Copy link
Contributor

@benface benface left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, LGTM

@enoldev enoldev merged commit 67bf204 into main Sep 20, 2023
@enoldev enoldev deleted the enol/substreams branch September 20, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants