Replies: 2 comments 3 replies
-
I feel really stupid.. for everyone in the future to stumble across this: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Serde can definitely make a large difference in size especially if you derive serialization for many types. The best thing to do is test your binary with twiggy to see where the bloat is coming from. But there are some general things that can help a lot:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I built a survey with dioxus-web and the wasm binary currently is at staggering 65mb...
I found this issue here: #732 and while I havent tried it out yet, I dont think I will gain massive amount of improvements, as 30mb for a binary still feels quite large.
Has anyone more tips on how to improve binary size?
I think the first thing I could do would be to replace serde with something smaller?
fyi - these are my depencencies:
Beta Was this translation helpful? Give feedback.
All reactions