pulumi/sdk/go/common/util
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
..
archive sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
buildutil sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
ciutil chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00
cmdutil [cli] Better memory profiling 2023-05-25 09:20:12 -07:00
contract sdk/contract: Deprecate non-f variants 2023-03-03 14:37:59 -08:00
deepcopy all: Fix revive issues 2023-03-21 08:55:11 -07:00
env gosimple: printf, time.Since, TrimPrefix, etc. 2023-01-12 09:55:34 -08:00
executable sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
fsutil sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
gitutil sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
goversion sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
httputil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
logging [logging] Improve filter performance 2023-05-25 12:56:15 -07:00
mapper sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
result sdk/go/common/util cleanup 2023-03-10 08:49:00 +00:00
retry sdk/common/retry: Fix extraneous backoff 2023-03-24 16:39:02 -07:00
rpcutil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
yamlutil all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00