-
Notifications
You must be signed in to change notification settings - Fork 70
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
Progress bar responsiveness behind callr processes #756
Comments
Updates from a subprocess are much more costly, but you can set the |
Thanks! |
Is this because of polling? Could an event-driven approach increase responsiveness and efficiency in general? Just wondering because @shikokuchuo's |
I am not sure what you mean. What does NNG use for waiting for IO? I bet it uses
The cost is that the message objects have to be sent to another process. I never measured this, but I suspect that most of the cost is running the R code that encodes the messages, and not the actual IO. (Btw. if the buffer of the socket between the processes is full, then the subprocess will stop until the main process reads out some messages from the buffer.) |
Related to #755. It seems that progress bars update less frequently when they run behind
callr
processes.It would be nice if they updated with the same frequency and timing as in the local process.
The text was updated successfully, but these errors were encountered: