tag:help.appveyor.com,2012-11-13:/discussions/questions/2857-how-to-optimize-a-project-to-reduce-the-running-timeAppVeyor: Discussion 2018-10-19T08:18:07Ztag:help.appveyor.com,2012-11-13:Comment/414452882016-12-12T18:19:58Z2016-12-12T18:19:58ZHow to optimize a project to reduce the running time<div><p>Hi Filipe,<br>
I see that you are downloading dependencies from internet during a
build. Can you try to keep them in the <a href="https://www.appveyor.com/docs/build-cache/">build cache</a>?</p>
<p>Also can you please estimate specific amount of minutes you are
above one hour?</p>
<p>--ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/414452882016-12-14T18:36:34Z2016-12-14T18:36:35ZHow to optimize a project to reduce the running time<div><p>I'll take a look at caching but I am not sure it will work b/c
we need up-to-date dependencies and the cache will probably go over
the 100 MB limit.</p>
<p>Regarding the amount of minutes, it is hard to say we have 6
items in that matrix and 3 ends below the 1 hours limit while the
remaining 3 fail due to time. I would guess that maybe +15 minutes
would do. Not sure... Locally, in my machine, that build takes >
3 hours!</p></div>Filipetag:help.appveyor.com,2012-11-13:Comment/414452882016-12-15T01:49:30Z2016-12-15T01:49:30ZHow to optimize a project to reduce the running time<div><p>Hi Filipe,</p>
<ol>
<li>
<p>We changed your account time limit to 90 minutes, hope this
helps.</p>
</li>
<li>
<p>Build cache limit for free plan is 1GB, not 100Mb</p>
</li>
<li>
<p>I see that successful jobs <a href="https://ci.appveyor.com/project/conda-forge/qt-feedstock/build/1.0.5">
here</a> are actually very quick, less than 2 minutes, so I suspect
that they do not do all what you expect them to do. You probably
need to re-examine your config.</p>
</li>
</ol>
<p>Thanks!<br>
Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/414452882016-12-15T12:51:02Z2016-12-15T12:51:03ZHow to optimize a project to reduce the running time<div><p>Thanks for looking into this Ilya!</p>
<p>That log is not the right one because I skipped the successful
builds and<br>
test a single one.</p>
<p>Here is the correct one:</p>
<p><a href="https://ci.appveyor.com/project/conda-forge/qt-feedstock/build/1.0.4">
https://ci.appveyor.com/project/conda-forge/qt-feedstock/build/1.0.4</a></p>
<p>I just removed all the skips and triggered a new build here"</p>
<p><a href="https://ci.appveyor.com/project/conda-forge/qt-feedstock/build/1.0.9">
https://ci.appveyor.com/project/conda-forge/qt-feedstock/build/1.0.9</a></p>
<p>However, all of our builds on AppVeyor are stuck for many
days.</p>
<p>See <a href="https://ci.appveyor.com/projects?p=34">https://ci.appveyor.com/projects?p=34</a></p>
<p>With the exception of the staged-recipes repository all others
are stuck :-(</p>
<p>PS: Not sure if you expanded the time limit in my account
(ocefpaf) or in<br>
the conda-forge account.<br>
I personally don't need that. We only need it for the conda-forge
qt<br>
account.<br>
But it does not hurt to get it for all of conda-forge repos ;-)</p>
<p>Thanks again,</p>
<p>-Filipe</p></div>Filipe Pires Alvarenga Fernandestag:help.appveyor.com,2012-11-13:Comment/414452882016-12-16T02:14:32Z2016-12-16T02:14:32ZHow to optimize a project to reduce the running time<div><p>Hi Filipe,</p>
<p>We fixed your queue. Please cancel your builds or start new one.
Sorry.</p>
<p>Longer build time is assigned to the <code>conda-forge</code>
account.</p>
<p>Also I just noticed that for your account build cache limit is
actually 20Gb.</p>
<p>Thanks!<br>
Ilya.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/414452882016-12-16T09:33:40Z2016-12-16T09:33:41ZHow to optimize a project to reduce the running time<div><p>Thanks! Our builds are already starting!!</p>
<p>Qt, and some other feedstocks, will benefit from the extra
time!</p>
<p>Thanks again in the name all of the conda-forge community and
Windows conda<br>
users!</p>
<p>Best,</p>
<p>-Filipe</p></div>Filipe Pires Alvarenga Fernandes