DockerCLI/vendor/golang.org/x
CrazyMax 62f2358b99
improve plugins discovery performance
We are currently loading plugin commands stubs for every
command invocation to add support for Cobra v2 completion.
This cause a significant performance hit if there is a
lot of plugins in the user space (7 atm in Docker Desktop):

`docker --version` takes in current 23.0.1 ~93ms

Instead of removing completion for plugins to fix the
regression, we can slightly improve plugins discovery by
spawning a goroutine for each iteration in the loop when
listing plugins:

`docker --version` now takes ~38ms

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-03-28 06:16:55 +02:00
..
crypto vendor: golang.org/x/crypto v0.1.0 (fix OpenSSL > 9.3 compatibility) 2022-11-16 16:05:32 +01:00
net vendor: golang.org/x/net v0.7.0 2023-03-15 01:42:00 +01:00
sync improve plugins discovery performance 2023-03-28 06:16:55 +02:00
sys vendor: golang.org/x/sys v0.5.0 2023-03-15 01:32:29 +01:00
term vendor: golang.org/x/term v0.3.0 2022-12-22 22:59:45 +01:00
text vendor: golang.org/x/text v0.5.0 2022-12-22 22:53:24 +01:00
time vendor: golang.org/x/time v0.3.0 2023-03-15 01:35:57 +01:00