Slow code coverage in docker

I'm having an issue with PHP code overlap reports in a docker container. For example, the same test with

codeception run unit

      

gets me (72.79s) but with coverage flag

codeception run unit --coverage --coverage-html

      

he gets me (4,412.27s). Some tests are just squashed with:

ERROR: Bad answer from Docker engine.

In the codeception.yml include section, I installed only * .php files and folders with code.

My system: Codeception 2.3.3, Docker EDGE 17.06.0-rc1-ce-mac13, Yii1 framework.

I tried using the new performance tuning with docker https://docs.docker.com/docker-for-mac/osxfs-caching/ , it helped a little, but the result has already improved.

+3


source to share





All Articles