Skip to content

High CPU usage just by waiting user input #8667

Closed

Description

@klonuo

Description

When opencode needs user input, be it for permission or plan execution, the CPU usage is very high just by doing nothing apparently

Plugins

No response

OpenCode version

1.1.21

Steps to reproduce

No response

Screenshot and/or share link

I recorded CPU while opencode was waiting permission answer:

Image

Operating System

WSL Ubuntu / Windows 11

Terminal

wt

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    perfIndicates a performance issue or need for optimization
    on Jan 15, 2026
  2. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    Contributor

    @klonuo try disable animations

    Image
  3. caozhiyuan commented on Jan 21, 2026

    @caozhiyuan
    Contributor

    also set OPENCODE_DISABLE_TERMINAL_TITLE=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiperfIndicates a performance issue or need for optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions