-
Notifications
You must be signed in to change notification settings - Fork 80
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
Move chef_gem install to a recipe, so it is only called once. #43
Conversation
I'll try this out can you put an end line on recipes/dependencies.rb? |
Done. |
I'm not really seeing a performance increase from this. Test runs without commit:
Test runs with commit:
|
Try using s3_file more than once in the same run. I have a recipe that downloads 7 different files from S3, and I was seeing the job delay at the chef_gem run each time for more than 10 seconds as it compared checksums are something. Once I took the call out of the LWRP, I recouped over 60 seconds from my run. |
I did multiple runs across several fresh instances that had three s3 file
|
Only one gem call.
|
Okay let me test it again. On Thu, Feb 12, 2015 at 5:28 PM, Scott Marshall [email protected]
|
Move chef_gem install to a recipe, so it is only called once.
Moving it to a recipe makes it is only called once. Calling that chef_gem install only once will take a considerable amount of time off of a chef run.