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

Speed up helper functions #8

Open
norman-abramovitz opened this issue Jan 1, 2020 · 0 comments
Open

Speed up helper functions #8

norman-abramovitz opened this issue Jan 1, 2020 · 0 comments

Comments

@norman-abramovitz
Copy link
Owner

CF7 is 2x to 4x slower than CF6. The time to retrieve dynamic values takes too long.

➜  time cf apps
...
cf apps  0.05s user 0.02s system 11% cpu 0.692 total

➜ time cf7 apps
...
cf7 apps  0.07s user 0.05s system 4% cpu 2.568 total

➜  time cf apps
...
cf apps  0.05s user 0.02s system 10% cpu 0.703 total

➜  time cf7 apps
...
cf7 apps  0.06s user 0.04s system 3% cpu 2.449 total

I reported the issue to cf-cli repo, but they closed the issue without fixing.

It seems using the cf curl seems to run faster. Is it worth the effort adding the dependency of using JQ with auto-completion? It is unclear if or when cf-cli team will figure out they have a performance issue.

To use cf curl we would need to org and space so we can restrict the result set.

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

1 participant