-
Notifications
You must be signed in to change notification settings - Fork 28
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
Remove ProgressMeter.jl-based progress bar? #100
Comments
If BenchmarkTools gets its own progressl ogging system, then we can of course just use that. That's why I tired to upstream it here: JuliaCI/BenchmarkTools.jl#66 |
Thanks for the comment. JuliaCI/BenchmarkTools.jl#66 would be an improvement but I still think JuliaCI/BenchmarkTools.jl#153 is better. I commented my reasoning there: JuliaCI/BenchmarkTools.jl#66 (comment) |
With JuliaCI/BenchmarkTools.jl#153 merged, what do we do here now? |
JuliaCI/BenchmarkTools.jl#153 doesn't interfere with the existing ProgressMeter.jl-based approach in PkgBenchmark.jl so I don't think you'd need immediate actions. But it'd be nice to have more natural support for logging-based progress bar in PkgBenchmark.jl. How do you want to handle the transition?
I think option 1 is better as it'd simplify the code. But an objection may be that TerminalLoggers.jl is still a young (0.1.0) package and not tested a lot in the wild yet. (cc @c42f) The third option would be to somehow support merging log records of the subprocess to the main process so that it is automatically handled by user's default logger (e.g., Juno). But this requires logging infrastructure that doesn't exist yet. |
I'm happy to stress test Do we need to resolve JuliaLogging/TerminalLoggers.jl#22 before this is practical? |
I don't think ProgressMeter.jl works well with subprocesses so I don't think we need to fix it to switch to the logging-based progress bars. Maybe the logging-based solution has a higher chance of fixing it. |
Ok sounds fine then. I guess the scroll region based progress bars just end up writing over the top of each other anyway. Which is annoying but not fatal. |
IIUC, PkgBenchmark.jl has its own
_run
function to support progress reports via ProgressMeter.jl. In JuliaCI/BenchmarkTools.jl#153 I suggested to use more flexible and open progress logging API on BenchmarkTools.jl side. If that PR is accepted, I suppose we can eventually use the plainrun
function?My motivation is to run PkgBenchmark with
verbose
option passed torun
. I think this is nice because:verbose
option is a nice way to workaround it.The text was updated successfully, but these errors were encountered: