rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

Add a section of handling still-too-big wasm #110

Closed alexcrichton closed 6 years ago

alexcrichton commented 6 years ago

Comparisons of WebAssembly in terms of code size tend to only take a look at the size of the wasm file itself and stop there. In terms of benchmarking though code size is rarely the only factor to consider! This commit adds a section to the code size section of the book to list a few other factors which are important to consider when profiling and measuring code size of wasm files.

alexcrichton commented 6 years ago

An excellent idea, added!