Skip to content

Run plugins in parallel #168

@ehmicky

Description

@ehmicky

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 in buildFunctions
  • 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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions