mirror of https://github.com/docker/cli.git
c39c711a18
We are currently loading plugin command stubs for every invocation which still has a significant performance hit. With this change we are doing this operation only if cobra completion arg request is found. - 20.10.23: `docker --version` takes ~15ms - 23.0.1: `docker --version` takes ~93ms With this change `docker --version` takes ~9ms Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> |
||
---|---|---|
.. | ||
candidate.go | ||
candidate_test.go | ||
cobra.go | ||
error.go | ||
error_test.go | ||
manager.go | ||
manager_test.go | ||
manager_unix.go | ||
manager_windows.go | ||
metadata.go | ||
plugin.go | ||
suffix_unix.go | ||
suffix_windows.go |