benchexec icon indicating copy to clipboard operation
benchexec copied to clipboard

progress bar support

Open gipsyh opened this issue 1 year ago • 3 comments

Maybe we can add a progress bar so that we can see how much the benchmark has completed.

gipsyh avatar Apr 28 '24 08:04 gipsyh

Would be nice, indeed, thanks for the suggestion!

I don't really know how to implement such a thing, though.

In the meantime, if you have a terminal emulator that supports it, BenchExec should print the count of finished and total runs in the terminal title. So there you can see this information.

PhilippWendler avatar Apr 29 '24 05:04 PhilippWendler

I just stumbled over the library rich. If we want to implement a progress bar, this could be a good choice.

PhilippWendler avatar May 06 '24 06:05 PhilippWendler

progressbar2 is very easy to use, too (you can basically wrap it around an iterator).

I might be able to add that.

incaseoftrouble avatar May 24 '24 13:05 incaseoftrouble