Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: further reduce WASM binary size by ~5-7% #459

Merged
merged 3 commits into from
Feb 3, 2023
Merged

Conversation

gbj
Copy link
Collaborator

@gbj gbj commented Feb 3, 2023

I made further changes concretizing generic functions to avoid monomorphization across leptos_dom, leptos_reactive, and leptos_router. I found this has an effect of about 5% of binary size on the todomvc example, and about 7% of binary size on hackernews.

@gbj gbj merged commit 6d0d70c into main Feb 3, 2023
@gbj gbj deleted the shrink-wasm-size branch February 3, 2023 22:38
gbj added a commit that referenced this pull request Mar 21, 2023
* Update `leptos_router` docs
* Further reducing WASM bundle sizes
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.

None yet

1 participant