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

feature: rough progress during target file read #38

Open
roycewilliams opened this issue Aug 29, 2022 · 4 comments
Open

feature: rough progress during target file read #38

roycewilliams opened this issue Aug 29, 2022 · 4 comments

Comments

@roycewilliams
Copy link
Contributor

When reading a file directly (not reading from stdin), the number of bytes read in, vs the total size as read from disk, could be used to show a rough progress indicator. As long as this doesn't materially slow down the read, this could be useful.

@Waffle2
Copy link
Collaborator

Waffle2 commented Aug 29, 2022 via email

@roycewilliams
Copy link
Contributor Author

High-end case (just for me personally) is ~64GB from spinning rust:

Reading "[filename]"...64798075953 bytes total in 215.7301 seconds

@Waffle2
Copy link
Collaborator

Waffle2 commented Aug 29, 2022 via email

@roycewilliams
Copy link
Contributor Author

I wasn't thinking progress bar so much as a simple % completed as used elsewhere in rling (that's often also only shown briefly when shown in other parts of rling - but it's handy to see when it's not brief. :D)

Sometimes it's most useful when the user has made an error - so the percent complete is going up much more slowly than expected, which the user can immediately notice and take action on.

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