# Development process slow

**URL:** <https://discuss.circleci.com/t/development-process-slow/24228>\
**Category:** Build Environment\
**Tags:** circle-yml, docker\
**Created:** [August 10, 2018, 2:27pm UTC](https://discuss.circleci.com/t/development-process-slow/24228 "2018-08-10T14:27:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewmale](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@andrewmale](https://discuss.circleci.com/u/andrewmale)\
**Post date:** [August 10, 2018, 2:27pm UTC](https://discuss.circleci.com/t/development-process-slow/24228/1 "2018-08-10T14:27:21Z")

</div>

Hello

Am I missing something or is it a very slow and tedious process to get a build process created and running?

I have a local dev environment using 3 Docker containers, managed via a docker-compose.yml which runs OK on my laptop. I am trying to replicate this setup in CircleCI so that I can spin up the containers and then run browser tests against my CakePHP application using the same setting, database etc.

I find that with each tweak or change to the .yml file I have to rebuild everything and this takes 3-4 minutes depending on the network.

Is there anyway to cache some parts of the process to make it quicker?

---

<div class="post-metadata">

**Author:** ![halfer](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/halfer/32/9083_2.png) [@halfer](https://discuss.circleci.com/u/halfer)\
**Post date:** [August 11, 2018, 8:13am UTC](https://discuss.circleci.com/t/development-process-slow/24228/2 "2018-08-11T08:13:13Z")

</div>

It depends where the slowness is. Are you (re)building a Docker image? There are some caching strategies I can direct you to, if so.

Or is the slowness in CircleCI commands? If so, would you list some steps and what time each takes to run? There are probably some optimisations that can be made.

Or, is the slowness in making mistakes in your YAML config? This can be alleviated by using a YAML-aware editor that catches syntax errors and reduces the number of pushes to get a specific result.

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [August 13, 2018, 7:15pm UTC](https://discuss.circleci.com/t/development-process-slow/24228/3 "2018-08-13T19:15:57Z")

</div>

> [@andrewmale](#):
>
> Is there anyway to cache some parts of the process to make it quicker?

Yes, using caching: [https://circleci.com/docs/2.0/caching/](https://circleci.com/docs/2.0/caching/)

Also you can use the Local CLI to build locally instead of having to `git push` for every CircleCI config change. [https://circleci.com/docs/2.0/local-cli/](https://circleci.com/docs/2.0/local-cli/)

---

<div class="post-metadata">

**Author:** ![andrewmale](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@andrewmale](https://discuss.circleci.com/u/andrewmale)\
**Post date:** [August 14, 2018, 10:53am UTC](https://discuss.circleci.com/t/development-process-slow/24228/4 "2018-08-14T10:53:52Z")

</div>

Thank you! I think the CLI is probably what I’m after; it’s mostly the time to change my repos and then have to commit to get CircleCI to rebuild again.

I’ll install and give that a go. 😀

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [November 12, 2018, 10:54am UTC](https://discuss.circleci.com/t/development-process-slow/24228/5 "2018-11-12T10:54:03Z")

</div>

Closed on November 12, 2018, 10:54am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
