You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this resource, it got me started. Just a heads up. I have noted that one TinyGo flag that makes a huge difference to built WASM executable size is -no-debug. This would seem to be safe. TinyGo docs state:
-no-debug Disable outputting debug symbols. This can be useful for WebAssembly, as there is no debugger for .wasm files yet and .wasm files are generally served directly. Avoiding debug symbols can have a big impact on the generated binary size, reducing them by more than half.
In my own testing, it has reduced size by over 150%.
The text was updated successfully, but these errors were encountered:
Thanks for this resource, it got me started. Just a heads up. I have noted that one TinyGo flag that makes a huge difference to built WASM executable size is
-no-debug
. This would seem to be safe. TinyGo docs state:In my own testing, it has reduced size by over 150%.
The text was updated successfully, but these errors were encountered: