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

Performance impact of pytest/subprocess on docker services? #56

Closed
nejch opened this issue Sep 28, 2020 · 0 comments
Closed

Performance impact of pytest/subprocess on docker services? #56

nejch opened this issue Sep 28, 2020 · 0 comments

Comments

@nejch
Copy link

nejch commented Sep 28, 2020

Hi all, just wanted to check if anyone else has seen any significant performance effects on container spin-up and runtime.

I recently switched from a plain shell script spinning up a container to docker-compose using pytest-docker. It's quite a heavy app (a GitLab CE container that does a full reconfigure on every startup), so it already took around 2 minutes to get up and running for tests before, but now it's more like 3 minutes (at least on underpowered CI VMs), and some time-sensitive tests seem to be struggling, so more wait-time might need to be added.

I understand that both pytest and subprocess do a lot more under the hood which probably contributes, but I didn't expect such a big difference, but maybe I'm also doing something wrong :)

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

No branches or pull requests

2 participants