Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-docker-compose: import fastentrypoints
Source: meta-virtualization MR: 00000 Type: Integration Disposition: Merged from meta-virtualization ChangeID: c1bc396 Description: The docker-compose project is using console_scripts which hence imports pkg_resources which is very slow at starting time, see: pypa/setuptools#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> Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
- Loading branch information