summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch
Commit message (Collapse)AuthorAgeFilesLines
* docker-compose: drop patches from the removed python versionJose Quaresma2023-12-041-28/+0
| | | | | | | | | Drop unused patches from the python version removed in 7bd56074. https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/docker-compose?id=7bd56074fece944ef9279d87106eb16452ec6338 Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker-compose: import fastentrypointsMing Liu2020-02-031-0/+28
The docker-compose project is using console_scripts which hence imports pkg_resources which is very slow at starting time, see: https://github.com/pypa/setuptools/issues/510 This could be workaround by importing fastentrypoints module. Some tests: Before the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m5.108s user 0m4.761s sys 0m0.272s ``` After the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m3.526s user 0m3.249s sys 0m0.235s ``` Have verified the patch with: https://docs.docker.com/compose/gettingstarted Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>