-
Notifications
You must be signed in to change notification settings - Fork 10
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
Build debug information alongside non-debug builds. #89
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for distracted-dubinsky-fd8a42 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Needs me to check file size impact. This should be negligible. |
There's a 16% increase in the size of the Wasm, presumably for this logged reason:
A full debug build is a 290% increase. I'll confirm it's actually debuggable in Chrome and perhaps look at size wins elsewhere. |
You can win 2% back overall by tweaking the JavaScript build but still a 10% overall increase. I think we'll need to live with this or something similar at least for a while so we can understand the issues we see logged. |
7d92370
to
8118ff2
Compare
We should then be able to use it in Chrome's Wasm/DWARF debug tooling to understand production issues. This results in a 12% size increase. Win ~2% back by minifying the JavaScript.
8118ff2
to
aba12ca
Compare
We should actually publish the JS source map: DevTools failed to load source map: Could not load content for https://review-python-simulator.usermbit.org/separate-dwarf/build/simulator.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE |
In-editor preview: https://review-python-editor-v3.microbit.org/separate-dwarf/ |
We should then be able to use it in Chrome's Wasm/DWARF debug tooling to understand production issues.