Skip to content

Compute total size of samples correctly#10263

Merged
niloc132 merged 2 commits intogwtproject:mainfrom
zbynek:sample-size
Jan 31, 2026
Merged

Compute total size of samples correctly#10263
niloc132 merged 2 commits intogwtproject:mainfrom
zbynek:sample-size

Conversation

@zbynek
Copy link
Collaborator

@zbynek zbynek commented Jan 31, 2026

This fixes the size of compiled samples reported during a build.

Except for hello all samples have multiple modules, so target is not always in the top level folder. Also included deferredjs/ for split point content.

niloc132
niloc132 previously approved these changes Jan 31, 2026
Copy link
Member

@niloc132 niloc132 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, that's embarrassing. I had it right the first iteration of the samples update, then I kept making changes and didn't go back to check...

Co-authored-by: Colin Alworth <colin@vertispan.com>
@niloc132 niloc132 added this to the 2.13 milestone Jan 31, 2026
@niloc132 niloc132 added the ready This PR has been reviewed by a maintainer and is ready for a CI run. label Jan 31, 2026
@niloc132
Copy link
Member

https://github.com/gwtproject/gwt/actions/runs/21551778682/job/62101622026?pr=10263

     [echo] compiled size of all samples is 10821121 bytes.

@niloc132 niloc132 merged commit 2e307b7 into gwtproject:main Jan 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready This PR has been reviewed by a maintainer and is ready for a CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants