hamlet-io / executor-bash

Executor for hamlet based on bash
GNU General Public License v3.0
0 stars 4 forks source link

refactor: support multipass executions #204

Closed roleyfoley closed 3 years ago

roleyfoley commented 3 years ago

Intent of Change

Description

Motivation and Context

Generating multiple outputs at a time reduces duplication of the setup processes required in the engine. Part of https://github.com/hamlet-io/engine/issues/1666

Initial testing shows some improvements in performance

time hamlet -i mock -p aws -p awstest deploy test-deployments
multipass

real    9m38.630s
user    11m33.315s
sys     2m16.764s
single pass

real    13m2.916s
user    15m29.790s
sys     3m6.966s

Further improvements will be added in the future to generation outputs during the initial generation contract generation.

How Has This Been Tested?

Tested locally

Related Changes

Prerequisite PRs:

Dependent PRs:

Consumer Actions: