summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2020-02-01 18:47:20 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-02-03 17:10:58 -0500
commitc1bc3963ba98834c835b780114151d6b31dd0261 (patch)
tree1bebc664138e78f06a6f1293655a42dd55823b83 /classes
parent9124baa325e9ee6994f2688089c9cc564131c2d4 (diff)
downloadmeta-virtualization-c1bc3963ba98834c835b780114151d6b31dd0261.tar.gz
python3-docker-compose: import fastentrypoints
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>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions