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

Improving accuracy through averages #208

Open
0xVavaldi opened this issue Nov 21, 2024 · 1 comment
Open

Improving accuracy through averages #208

0xVavaldi opened this issue Nov 21, 2024 · 1 comment

Comments

@0xVavaldi
Copy link

Would it be possible to add an option that takes the average of N seconds? For programs that run a longer time this will improve the accuracy of the iterationcount and estimated duration.

progressbar.OptionTakeAverage(60000*time.Millisecond) takes the average of 60 seconds of progress updates.

@schollz
Copy link
Owner

schollz commented Nov 21, 2024

would accept pr

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