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

macOS Catalina: ddev command execution seems sluggish #1881

Closed
rfay opened this issue Oct 10, 2019 · 5 comments
Closed

macOS Catalina: ddev command execution seems sluggish #1881

rfay opened this issue Oct 10, 2019 · 5 comments
Labels
Prioritized We expect to do this in an upcoming release
Milestone

Comments

@rfay
Copy link
Member

rfay commented Oct 10, 2019

Describe the bug

It seems to me that all ddev commands on Catalina are really slow to execute.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version and configuration information (please complete the following information):

  • Host computer OS and Version: [e.g. Windows 10, macOS High Sierra]
  • Docker version information (use docker version) and insert it here.
  • ddev version information (use ddev version)
  • config.yaml contents for the misbehaving project
  • Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?

Additional context
Add any other context about the problem here. Thanks!

@rfay
Copy link
Member Author

rfay commented Oct 13, 2019

A quick check says this is instrumentation (segment or sentry?) causing the problem. I set instrumentation_opt_in: false and it didn't seem to be so slow.

@rfay rfay added the Prioritized We expect to do this in an upcoming release label Oct 13, 2019
@rfay
Copy link
Member Author

rfay commented Nov 5, 2019

I also see that docker-compose --version is quite slow on at least Catalina. We shouldn't really have to do that every single time.

@rfay
Copy link
Member Author

rfay commented Nov 20, 2019

This is mostly due to docker-compose problems as described in docker/compose#6956 (comment) and potentially fixed by docker/compose#7010

#1905 (fixed by #1916) was also a problem here, not just for Catalina, but for everybody that had a Pantheon project active.

@rfay
Copy link
Member Author

rfay commented Dec 16, 2019

I think this is mostly solved by docker/compose#7010, which made it into docker-compose 1.25.1-rc1 which made it into Docker Desktop 2.1.7.0. docker-compose --version now takes .5s, much better. The problem is loads less annoying. I still thing ddev does too much rooting around and doing things over again, but the Catalina problem is solved with the latest docker desktop edge, which is also the release candidate for stable.

@rfay
Copy link
Member Author

rfay commented Jul 28, 2020

I think it's worth opening this up again. There's a lot of profiling that can be done and significant speedup in ddev command execution. #1962 made some good progress, but I'd like to see it better. Every time I use Linux or WSL2 I see ddev behaving much faster.

@rfay rfay reopened this Jul 28, 2020
@rfay rfay added this to the v1.16 milestone Jul 28, 2020
rfay added a commit to rfay/ddev that referenced this issue Aug 5, 2020
@rfay rfay linked a pull request Aug 5, 2020 that will close this issue
@rfay rfay closed this as completed in 9551eb7 Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prioritized We expect to do this in an upcoming release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant