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

Add MB/s pbar #442

Merged
merged 3 commits into from May 18, 2021
Merged

Add MB/s pbar #442

merged 3 commits into from May 18, 2021

Conversation

JoranAngevaare
Copy link
Member

@JoranAngevaare JoranAngevaare commented May 18, 2021

What is the problem / what does the code in this PR do
Slightly compactify the progress-bar, print in MB/s (NB! MB referring to the output data)

Why is this useful?
I think potential new bottle necks can be spotted earlier since one will develop a feeling of what a good rate for a data-type is.

Can you briefly describe how it works?
Divide the output size by the time since last chunk

Can you give a minimal working example (or illustrate with a figure)?
old:
afbeelding

new:
afbeelding

@JoranAngevaare JoranAngevaare marked this pull request as ready for review May 18, 2021 10:17
Copy link
Collaborator

@WenzDaniel WenzDaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds like a good addition, thanks a lot.

@JoranAngevaare JoranAngevaare merged commit c1469c8 into master May 18, 2021
@JoranAngevaare JoranAngevaare deleted the update_pbar branch May 18, 2021 12:28
@JoranAngevaare JoranAngevaare mentioned this pull request May 27, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants