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

Serial Monitor lags behind and uses a lot of CPU #519

Closed
ubidefeo opened this issue Oct 1, 2021 · 2 comments · Fixed by #524
Closed

Serial Monitor lags behind and uses a lot of CPU #519

ubidefeo opened this issue Oct 1, 2021 · 2 comments · Fixed by #524
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project

Comments

@ubidefeo
Copy link

ubidefeo commented Oct 1, 2021

When printing data to Serial at high speed (115200) the Serial Monitor cannot keep up with the board output and CPU performances jump through the roof.

OS: Mac OS 11.3

@ubidefeo ubidefeo added the priority: high Resolution is a high priority label Oct 1, 2021
@kittaakos
Copy link
Contributor

Some work has been done on serial-monitor-rate-limiter branch. This comment could be related. Note, every single character comes with a request to the frontend, as no rate-limiter is configured on the CLI side. This means if you have a println("foo") sketch, you will get f, then o, finally o on the IDE side. Maybe the communication is too chatty between the CLI and the IDE.

@ConnahGriffin
Copy link

I have the same problem. So I just limit it to somewhere around 200ms delay on the main loop() funtion.

OS: Linux(Ubuntu 20.04.3 x86_64)

@per1234 per1234 added topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself conclusion: resolved Issue was resolved labels Oct 20, 2021
@rsora rsora added criticality: high Of high impact and removed priority: high Resolution is a high priority labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself topic: serial monitor Related to the Serial Monitor type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants