Hello,
We’ve noticed that some of our job build times have increased a lot over the last year, even though much of the code that’s running is nearly identical. Here’s an example:
If you look at the code that’s running for individual steps, we’re not doing very much, often just echoing text into a file that we use to share environment variables throughout different jobs in the workflow. Many of the individual steps ran very quickly a year ago, taking less than a second, but now take 13 seconds. This is happening to steps in a number of different jobs in our workflow, and is cumulatively adding several minutes to our build times. What could be causing the difference in timing here?
We had a bunch of unused environment variables set up in CCI. I deleted all the unused ones and the time overheads for the steps have gone from about 15 seconds to 0 seconds, like in the older job I linked to in my first post. What is happening in CCI’s setup code at the beginning of each step that could have caused a slowdown like this?
Yes, this slowdown was consistently happening for all of our builds for several months. The builds performed since I removed the unused env vars we had set up on Monday afternoon have all been much faster.