Optimizing Build Times #5
Replies: 4 comments
-
Hey Gabriel, I’ve noticed our CI builds often exceed 20 minutes. Maybe we could try caching dependencies or splitting the workflow into smaller jobs? |
Beta Was this translation helpful? Give feedback.
-
Good idea, Slavi! Caching dependencies should save us some time. Splitting workflows sounds interesting, but we’ll need to make sure jobs don’t overlap unnecessarily. I can set up a test workflow to experiment with caching. |
Beta Was this translation helpful? Give feedback.
-
Thanks! While you’re at it, let’s also analyze which steps consume the most time. For instance, dependency installation seems to take ages. |
Beta Was this translation helpful? Give feedback.
-
I ran some tests, and dependency installation accounts for nearly 40% of the build time. I’ll add caching for node_modules and see if that helps. Let’s review results tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Our builds are taking too long, especially in the CI pipeline. Let’s discuss ways to improve build times without compromising functionality.
Beta Was this translation helpful? Give feedback.
All reactions