Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load the google SDK to prevent impacting knife performance #166

Merged
merged 3 commits into from
Jan 29, 2020

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Jan 29, 2020

If we require these files every time we load this plugin then we have to load the SDK just to get knife help. This reduces help load time from 2.99s to 1.43s

Signed-off-by: Tim Smith [email protected]

tas50 added 2 commits January 28, 2020 20:22
If we require these files every time we load this plugin then we have to load the SDK just to get knife help. This reduces help load time from 2.99s to 1.43s

Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 requested a review from a team as a code owner January 29, 2020 04:23
Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 merged commit 124d7ed into master Jan 29, 2020
@chef-expeditor chef-expeditor bot deleted the speedup branch January 29, 2020 04:30
@tas50 tas50 restored the speedup branch January 29, 2020 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant