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 some feedback while benchmark is running #4

Open
Dr-Noob opened this issue Jan 1, 2021 · 0 comments
Open

Add some feedback while benchmark is running #4

Dr-Noob opened this issue Jan 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Dr-Noob
Copy link
Owner

Dr-Noob commented Jan 1, 2021

Something that makes the user understand that computing is taking place.

For example, a progress bar, like:

|███████████████ | 50%
|████████████████████████████████| 100%

or a blinking cursor like this function does:

spin() {
   local -a marks=( '/' '-' '\' '|' )
   while [[ 1 ]]; do
     printf '%s\r' "${marks[i++ % ${#marks[@]}]}"
     sleep 0.1
   done
 }

This would require adding an additional thread in main

@Dr-Noob Dr-Noob added the enhancement New feature or request label Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant