-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Make CI builds faster #3075
Make CI builds faster #3075
Conversation
if we have no cache, seem we need to build TiKV every time? |
Yes if we disable cache entirely it will require a full rebuild. I'm going to try to find a good balance here so we're not seeing 21 minutes of caching but it also doesn't blow up the build time. |
Entertainingly, disabling cache entirely doesn't slow down the build. :) https://circleci.com/gh/pingcap/tikv/10157 |
87d3166
to
5cd2346
Compare
Hm, I was trying to do |
713e1f6
to
922ae58
Compare
d618203
to
22ce9e2
Compare
0841e6c
to
3673c4a
Compare
3071dc4
to
9c8a411
Compare
Do we have any updates about this attempt? |
@breeswish I've put it on hold as we've discussed moving some of this over to Jenkins. CircleCI 2.0 is giving some issues with memory and queuing. TravisCI has some issues as well, but they can be resolved I think after talking to one of the engineers there I know. @siddontang should work on this be continued? |
I looked through sccache's documentation, it seems that when using sccache, |
Also I found out that, for a fresh build in fact the |
I'm playing with my ideas on this PR #3247 :) |
Closing in favor of #3247 |
This PR explores how to make the Circle CI builds faster.
Diagnosis
This is not necessarily a new problem, and does not seem to be caused by #2993:
Currently caching is a massive portion of the build, taking around 21 minutes (nearly half the build time):
Implementation
clippy
andbench
might help as well but since they need to do the build compile of dependencies I suspect it might be even longer since it would add queuing issues.Failed Experiments
sccache
however it didn't yield tangible build tiime improvements.