Skip to content

High CPU usage #4804

@shantur

Description

@shantur

Description

I use opencode on MacOS ( Intel ) and after sometime the CPU usage keeps increasing.
Even when session is idle, the CPU usage stays high.

My main usage is in 2 projects and I see the same behaviour in both.

  1. typescript, javascript, html app
  2. Dart / Flutter app

I don't use it anywhere else so not sure if this is related.

OpenCode version

1.0.110

Steps to reproduce

Unsure of the steps.
Just keep using opencode, switch sessions, fork sessions etc

Screenshot and/or share link

Image

Operating System

macOS 15.7.2

Terminal

iTerm2, CodeNomad

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions