Skip to content

Idle CPU burn #9

@kennylevinsen

Description

@kennylevinsen

With a release build of 75c88f8, I am observing 3.2% idle CPU burn on a random old Intel desktop CPU.

The test was made under sway (wayland), with the window visible with no content (entirely fresh window). In this situation, the editor should be completely idle with nothing to process or to draw.

I unfortunately see this quite often in new text editors, and it is usually caused by event loop issues (e.g. poll with timeout or use of frameworks that busy poll for events).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions