-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
A-BuildRelated to the bevy build commandRelated to the bevy build commandA-WebBuilding or running Bevy apps targeting the browserBuilding or running Bevy apps targeting the browserS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
Description
We have control over the default compilation profiles and wasm-opt
options used for web builds.
The current options are chosen relatively arbitrarily and not based on benchmark results. Instead, we should use all the data gathered in TheBevyFlock/bevy_new_2d#402 to choose defaults that are best for most projects.
The linked issue mostly optimizes for file size or runtime performance.
For dev builds, we want to optimize for "iteration speed", i.e. build time + load time. This might need further investigation to find the best defaults.
Metadata
Metadata
Assignees
Labels
A-BuildRelated to the bevy build commandRelated to the bevy build commandA-WebBuilding or running Bevy apps targeting the browserBuilding or running Bevy apps targeting the browserS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished