pulumi/sdk/go/pulumi-language-go
Pat Gavlin 5eb8cd36e8 [logging] Improve filter performance
These changes improve the throughput and reduce the allocation volume of
the filters used to redact config and credential secrets from logs and
property values by replacing the use of strings.Replacer with an
implementation based on the Aho-Corasick machine. In the common case
where a value does not contain any secrets, the former allocates a new
copy of the string while the former does not.

In several real-world tests, this reduces the CLI's overall allocation
volume by about 25%.
2023-05-25 12:56:15 -07:00
..
testdata/sample fix(host/go): Allow Pulumi program in a subdir of the module 2023-05-17 13:20:38 -07:00
go.mod [logging] Improve filter performance 2023-05-25 12:56:15 -07:00
go.sum [logging] Improve filter performance 2023-05-25 12:56:15 -07:00
main.go ci: Lint Go language host 2023-05-19 15:01:42 -07:00
main_test.go ci: Lint Go language host 2023-05-19 15:01:42 -07:00