forked from relative-ci/bundle-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Duplicate Modules: Add option to include their bytes
Two bundles may have large byte differences mainly because of some modules being duplicated more or less often. The totals show if the whole bundle has grown or shrunk but the modules section couldn't tell you which modules had increased or decreased the number of duplicates. Thus you could know the change was because of altered duplication, but it would be hard to identify which modules caused the change. This introduces a checkbox on the Modules tab to include the byte size of the duplicates when comparing module sizes. There are other ways of getting this done, but I tried to choose the least invasive way. doing this operation as a selector allows pretty easy extension to measuring other types (like duplicate count) I've declined not to add a metric selector UI component at this time because creating a new dropdown that only allows a single selection would be a lot more changes.
- Loading branch information
1 parent
b4a49e0
commit 8e5a0f3
Showing
6 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters