hashicorp / hashicorp/nextjs-bundle-analysis

Deltas: show delta of "First Load" instead of page-specific delta

Open
#82 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
674
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Currently, refactoring code so that some pages have a reduced size requires you to do mental math to figure out the true impact. Since what really matters is the "First Load" size of each page, I think the delta should be calculated and shown based on that.

Here's an example that requires mental math. In this case, both pages ended up 3kb smaller and *that* is the figure that I think should be highlighted.
![image](https://github.com/hashicorp/nextjs-bundle-analysis/assets/26855/c35d9b91-44e4-4a35-b94b-3e519fcd22b6)

It may be important to show the deltas on both page-specific sizes *and* `First Load` but of those, `First Load` seems more important to me.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.