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

GetContainers performance #145

Closed
truepele opened this issue Dec 19, 2019 · 1 comment
Closed

GetContainers performance #145

truepele opened this issue Dec 19, 2019 · 1 comment

Comments

@truepele
Copy link
Contributor

DockerHostService.GetContainers is slow comparing to docker cli.

"docker inspect $(docker ps --all --quiet)" vs DockerHostService.GetContainers:
containers cnt | docker cli, ms | GetContainers, ms
1 | 95 | 400
2 | 105 | 545
8 | 125 | 700
16 | 160 | 1020
32 | 210 | 1650

Tested on:
Model Name: MacBook Pro
Model Identifier: MacBookPro14,3
Processor Name: Quad-Core Intel Core i7
Processor Speed: 2.8 GHz

@mariotoffia
Copy link
Owner

merged into master

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