-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
Discussionfeat/build-pluginsfeat/speedy-buildsstaletheme/plugin-author-experiencetheme/plugin-user-experiencetype: featurecode contributing to the implementation of a feature and/or user facing functionalitycode contributing to the implementation of a feature and/or user facing functionality
Description
Build speed is very important to our users. Should be run plugins in parallel by default?
The following would still happen serially:
- lifecycle hooks, e.g. anything triggered in
build
always happen before anything inbuildFunctions
- when user specifies an array of commands, those would be run in order
However, for a specific lifecycle hook, everything else should be run in parallel.
One downside would be that, by default, plugins would only be able to depend on other plugins that are defined in previous lifecycle hooks. We could introduce a plugin property after
to overcome this.
Logs would need to be buffered so that they are displayed to the user as if the plugins had be run serially.
This would provide with a major speed boost.
Metadata
Metadata
Assignees
Labels
Discussionfeat/build-pluginsfeat/speedy-buildsstaletheme/plugin-author-experiencetheme/plugin-user-experiencetype: featurecode contributing to the implementation of a feature and/or user facing functionalitycode contributing to the implementation of a feature and/or user facing functionality