-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Verbose upload output rate is very slow #68
Comments
@per1234 did you happen to have your Serial Monitor open when this happened? |
No, I haven't used the Pro IDE's Serial Monitor at all yet. But it's certainly interesting information that you're finding a correlation. |
I believe I see the same issue when uploading a sketch from the IDE via the bossa command line program. Bossa has output progress bar that gives an update after every page is written. When I run this from the command line, the the write and verify is almost instant (I can't see it, bossa reports less than 100ms to write 70 pages). When I run from the IDE, bossa reports the same time, it takes ~3 seconds for the progress bar to go from 0% to 100%. It fees like to can only do ~20 screen updates per second. For 70 pages, each with a display update, that takes ~4 seconds. Having the serial monitor open or not makes no difference. |
There's some kind of throttling we had to add to overcome a responsiveness issue and it is probably at the root of this. |
I'm experiencing the same behaviour... Upload lags behind by some dozen seconds. |
Problem still present with: Copyright © 2022 Arduino SA |
I'm experiencing the same behaviour... Upload lags behind by some tens seconds and I have to repress the reset button on my Arduino Micro to have a programming success. Copyright © 2022 Arduino SA |
Describe the bug
🐛 The rate of the output from the upload tool shown when verbose upload output is enabled in the preferences is very slow.
There seems to be some significant bottleneck in the communication stream between the tool and the Pro IDE's output pane.
To Reproduce
For some reason, I don't have the problem when uploading to a board that uses bossac as the upload tool (e.g., the "Native Serial" port of the Zero).
🐛 The output from the upload tool slowly streams in to the output pane for seconds after the actual upload has finished.
Expected behavior
The upload tool output to be displayed in the output pane at approximately the same speed as when using it from the command line.
Desktop
Original report
Date: 2021-02-08T10:04:20.854Z
CLI Version: 0.15.1 alpha [c7403ed2]
Last verified with
Additional context
I don't have any problems with the rate of the compilation output.
Related
The text was updated successfully, but these errors were encountered: