Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance by avoiding to call "pip freeze" #5038

Closed
jderusse opened this issue Jul 19, 2017 · 0 comments
Closed

Improve performance by avoiding to call "pip freeze" #5038

jderusse opened this issue Jul 19, 2017 · 0 comments

Comments

@jderusse
Copy link

By calling pip freeze, in the main module, the actual code slow down every commands. In my case about 1 seconds par call, "just" to check if docker-compose is properly installed. I don't think it worst it.

Some tentative to improve this part had been made #5000 and #4698, but it still 1 second (in my case repeated tens time in my makefile)

Could we:

  • remove this check and move it in a dedicated command docker-compose debug, or only on docker-compose version/help or when an exception is caugth.
  • or add an env variable to skip this check

if would be happy to write the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant