Skip to content

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

Closed
@ubidefeo

Description

@ubidefeo

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

Activity

kittaakos

kittaakos commented on Oct 5, 2021

@kittaakos
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

ConnahGriffin commented on Oct 5, 2021

@ConnahGriffin

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)

added and removed
priority: highResolution is a high priority
on Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @kittaakos@fstasi@ubidefeo@AlbyIanna@per1234

    Issue actions

      Serial Monitor lags behind and uses a lot of CPU · Issue #519 · arduino/arduino-ide