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

deepify list is very slow and uninformative #370

Open
eistrati opened this issue Apr 28, 2017 · 1 comment
Open

deepify list is very slow and uninformative #370

eistrati opened this issue Apr 28, 2017 · 1 comment

Comments

@eistrati
Copy link
Contributor

It took 35 seconds to show me something. Let's change that by displaying more info faster (e.g. Querying Tagging API to compile the list of all applications, Querying [service_name] to retrieve the list of all resources), as well as optimize where is possible. See my test below:

MitocGroup:~ eugene$ time deepify list
10:42:48 GMT-0500 (CDT)  To get more details, run deepify list --depth=2 or deepify list --depth=3

#1. ATM Api (ebf6f3ce) | using 11 cloud services 
    -------------------------------------------- 


#2. ATM Api +account (5347f79a) | using 13 cloud services 
    ----------------------------------------------------- 


#3. My Custom Web App 59a59b0775a22b6374595c8ebf525f1c (959f2268) | using 11 cloud services 
    --------------------------------------------------------------------------------------- 


#4. My Custom Web App cb5193fee11d7111ff6de88cd12d62c7 (770efe66) | using 11 cloud services 
    --------------------------------------------------------------------------------------- 


#5. hello.deep.mg (370b9c50) | using 10 cloud services 
    -------------------------------------------------- 


#6. todo.deep.mg (55182282) | using 11 cloud services 
    ------------------------------------------------- 


#7. unknown application | using 2 cloud services 
    -------------------------------------------- 


#8. www-dev.adtechmedia.io (430f1fff) | using 12 cloud services 
    ----------------------------------------------------------- 


#9. www.adtechmedia.io (57ad5dd8) | using 12 cloud services 
    ------------------------------------------------------- 


#10. www.deep.mg (41ae5689) | using 9 cloud services 
    ----------------------------------------------- 


#11. www2_serverlessConf (7bb794bc) | using 11 cloud services 
    -------------------------------------------------------- 

 

real	0m35.187s
user	0m1.989s
sys	0m0.233s
@eistrati
Copy link
Contributor Author

Another improvement: When running deepify list --resource [hashNumber], I'd suggest automatically assume --depth 3

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

No branches or pull requests

4 participants