pulumi/tests/benchmarks/go-alias-norm
Aaron Friel 6d2492f04b chore: update and synchronize most shared deps across go modules
Stacked on PR#11964, this more aggressively updates dependencies that are common
between multiple go.mod files and updates dependencies of test modules.

The result of this and previous PRs is:

* Greater confidence that we are testing against and relying on more recently
  reviewed upstream dependencies
* A >50% reduction in module size to download all of the dependencies of the CLI
repository.

This commit was created by running:

```sh
(cd pkg && go get -u ./...)
(cd tests && go get -u ./...)
make tidy
```
2023-01-24 18:23:23 -08:00
..
Pulumi.yaml Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
README.md Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
bench.sh Non-mutating snapshot normalization (#10128) 2022-07-18 14:04:19 -04:00
go.mod chore: update and synchronize most shared deps across go modules 2023-01-24 18:23:23 -08:00
go.sum chore: update and synchronize most shared deps across go modules 2023-01-24 18:23:23 -08:00
main.go ci: Simplify test listing, update go dependencies to 1.18 compat 2022-09-21 09:51:59 -07:00

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