Skip to content

Reducing hello-world size#21459

Merged
NullVoxPopuli merged 1 commit into
mainfrom
nvp/make-renderComponent-demo-even-smaller
Jun 10, 2026
Merged

Reducing hello-world size#21459
NullVoxPopuli merged 1 commit into
mainfrom
nvp/make-renderComponent-demo-even-smaller

Conversation

@NullVoxPopuli

@NullVoxPopuli NullVoxPopuli commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

I think most further reductions will require declaring sideEffects.
But in the PR after this one, I'm going to try to make the sideEffects we know about more centralized to where they are used (if I can find them)

We still have 13Kb (brotli) we can get rid of

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

📊 Size report

Tarball size1.2 MB1.2 MB

dist/dev   0.03%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/array/index.js 18.8 kB / 4.6 kB -8.87%↓17.1 kB / -8.87%↓4.2 kB
./packages/@ember/array/lib/is-array.js 2.1 kB / 741 B
./packages/shared-chunks/template-{hash}.js 1.1 kB / 401 B -54%↓491 B / -49.4%↓203 B
Total (Includes all files) 2.1 MB / 491.5 kB 0.03%↑2.1 MB / 0.07%↑491.9 kB

dist/prod   0.02%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/array/index.js 16.7 kB / 4.3 kB -8.29%↓15.3 kB / -8.06%↓4 kB
./packages/@ember/array/lib/is-array.js 1.9 kB / 671 B
./packages/shared-chunks/cache-{hash}.js 9.9 kB / 2.8 kB -93%↓697 B / -90.8%↓258 B
Total (Includes all files) 1.9 MB / 449.7 kB 0.02%↑1.9 MB / 0.06%↑450 kB

smoke-tests/v2-app-hello-world-template/dist   -9.02%↓

File Before (Size / Brotli) After (Size / Brotli)
./assets/main-{hash}.js 174.5 kB / 48.3 kB -9.03%↓158.7 kB / -9.56%↓43.6 kB
Total (Includes all files) 174.8 kB / 48.4 kB -9.02%↓159.1 kB / -9.54%↓43.8 kB

🤖 This report was automatically generated by wyvox/pkg-size

@NullVoxPopuli NullVoxPopuli force-pushed the nvp/make-renderComponent-demo-even-smaller branch from 45ccfab to f374fdc Compare June 10, 2026 15:30
@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review June 10, 2026 15:30
@NullVoxPopuli NullVoxPopuli merged commit c9bf142 into main Jun 10, 2026
44 checks passed
@NullVoxPopuli NullVoxPopuli deleted the nvp/make-renderComponent-demo-even-smaller branch June 10, 2026 17:59
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.

2 participants