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

Spinner during VU init? #1324

Closed
ragnarlonn opened this issue Feb 5, 2020 · 3 comments
Closed

Spinner during VU init? #1324

ragnarlonn opened this issue Feb 5, 2020 · 3 comments
Labels

Comments

@ragnarlonn
Copy link

VU init at the start of a test can take many seconds to complete, during which a new user may think k6 has failed/frozen as there is no feedback.

Feature Description

I propose using a simple ASCII spinner ("|", "/", "-", "") to show the user that work is being done.

@na--
Copy link
Member

na-- commented Feb 5, 2020

This has already been mostly solved in #1007, we have a progress bar that measures VU initialization progress there. And we initialize VUs concurrently instead of sequentially, so it usually happens way faster 😄

@imiric is actively working on prettifying the progressbars for that PR even more right now #1310! Take a look at how it is like when you initialize and run different tests with the code from that branch: asciicast

(ignore the context cancelled errors, we know how to solve that thorny issue: #1283)

@na--
Copy link
Member

na-- commented Feb 5, 2020

That said, we actually plan to add a spinner, only it will probably be when an executor is running: #1310 (comment)

@na--
Copy link
Member

na-- commented Feb 12, 2020

@ragnarlonn, closing this for now, but feel free to re-open, or comment in the other issues/PRs that I linked to, if you think something could be further improved 🙂

@na-- na-- closed this as completed Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants