mirror of https://github.com/pulumi/pulumi.git
1cdd2315de
We don't need to search upwards for PolicyPack files, we already know that there aren't any since we don't recurse into policy packs. The directory traversal is plenty fast on Linux, however it is much slower on Windows. Node modules often have fairly wide and deep directory structures, so this can considerably slow down any Pulumi operation that runs `GetRequiredPlugins`. Fixes https://github.com/pulumi/pulumi/issues/16863 On an `was-typescript` example, we can see the impact with `Measure-Command {start-process pulumi -argumentlist "about" -Wait}`, which goes from 25 seconds to 2 seconds on an Azure Windows VM. |
||
---|---|---|
.. | ||
config.go | ||
creds.go | ||
creds_test.go | ||
loaders.go | ||
loaders_test.go | ||
paths.go | ||
paths_test.go | ||
plugins.go | ||
plugins_install_nodejs_test.go | ||
plugins_install_python_test.go | ||
plugins_install_test.go | ||
plugins_test.go | ||
project.go | ||
project.json | ||
project_test.go | ||
settings.go | ||
templates.go | ||
templates_test.go | ||
templates_zip.go | ||
templates_zip_test.go | ||
workspace.go |