Closed michaeldwan closed 5 years ago
@jeromegn not sure yet. The dev tools are 9.9mb so certainly larger with them. I have a few ideas to make it smaller, like store the bytes compressed and either decompress on demand or cache on the disk. I'm also thinking about how we can exclude it from environments that don't need it like production.
9.9MB -> 1.5MB compressed. We could embed compressed bytes and inflate at runtime.
This includes the dev tools source in binaries and an option to install them when a runtime is created. There's also a new
eval_with_dev_tools
function on runtime that the main.rs files use to kick things off. We'll be using these binaries to test customer apps for prod.