mirror of https://github.com/pulumi/pulumi.git
91a079851b
Updates to the latest versions of google.golang.org/genproto and google.golang.org/grpc in all submodules in the repository. This is necessary because in a recent change, genproto split out some of its subpackages into independent submodules. (https://github.com/googleapis/go-genproto/issues/1015) As a result of this, some users may see the error: ``` google.golang.org/genproto/googleapis/rpc/status: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules: google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 (/home/runner/go/pkg/mod/google.golang.org/genproto@v0.0.0-20230410155749-daa745c078e1/googleapis/rpc/status) google.golang.org/genproto/googleapis/rpc v0.0.0-20230725213213-b022f6e96895 ``` Because pu/pu is using 20230410155749, which has googleapis/rpc as a subpackage, but another dependency references the independent submodule (20230725213213), so the system doesn't know which module to use for the import path, google.golang.org/genproto/googleapis/rpc/status. This is a problem for codegen tests and ProgramTest-based tests for Pulumi Go programs that do not have a go.mod in the test directory. This issue was encountered by @thomas11 while attempting to upgrade dependencies in pulumi-docker (pulumi/pulumi-docker#700). The grpc upgrade is necessary because the current version of grpc also pulls the outdated version of genproto. |
||
---|---|---|
.. | ||
Pulumi.yaml | ||
README.md | ||
bench.sh | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Stress-testing rewriting and normalizing aliases in the engine state.
Benchmark timings (1-shot, n=100, darwin mbp 2019):
pulumi 3.36.0-alpha.1657742945+3cfba73d
destroy 0m48.543s
up 0m43.026s
empty-update 0m32.936s
pulumi v3.35.3
destroy 0m48.645s
up 0m41.580s
empty-update 0m32.341s
Non-quadratic version (1-shot, n=100, darwin mbp 2019):
pulumi 3.36.0-alpha.1657742945+3cfba73d
up 0m36.441s
empty-update 0m19.781s
pulumi v3.35.3
up 0m36.265s
empty-update 0m19.574s
Same with n=1000
pulumi 3.36.0-alpha.1657742945+3cfba73d
up 6m40.879s
empty-update 4m8.565s
pulumi v3.35.3
up 6m39.083s
empty-update 4m10.661s