Skip to content

Dune watch (and probably dune output in general) causes significant GPU power draw due to unnecessary idle refreshes #7184

@SUPERCILEX

Description

@SUPERCILEX

Expected Behavior

Do nothing while idle.

Actual Behavior

If I have a crappily implemented terminal open (aka vscode's), dune idling will use up ~20W of my GPU. Playing around a little bit, this seems to be because dune is constantly refreshing the terminal.

However the output is being rendered, I believe this would be fixed by short-circuiting if nothing has changed.

Specifications

  • Version of dune (output of dune --version): 3.6.1
  • Operating system (distribution and version): linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions