Description
I noticed on my Linux machine with its 240 fps monitor that chrome was using 100% CPU whenever a terminal was open. The terminal wasn't doing anything, it was just sitting there. This results in the CPU running at a higher power profile than necessary and wasting battery.
Plugins
None
OpenCode version
1.2.6
Steps to reproduce
- Visit open code in a browser
- Open a terminal (non mobile)
- Run
btop or whatever tool you like to look at your CPU usage. Notice chromium is using 100%.
- Close the terminal, CPU usage goes down to a few percentage.
Screenshot and/or share link
Here is a view of the chrome browser profiler when the terminal is open. Notice the 100% cpu usage.
Here is a view of the profiler on my own branch where I added a configuration and set the frame rate to 15 fps
Operating System
Linux
Terminal
n/a
Description
I noticed on my Linux machine with its 240 fps monitor that chrome was using 100% CPU whenever a terminal was open. The terminal wasn't doing anything, it was just sitting there. This results in the CPU running at a higher power profile than necessary and wasting battery.
Plugins
None
OpenCode version
1.2.6
Steps to reproduce
btopor whatever tool you like to look at your CPU usage. Notice chromium is using 100%.Screenshot and/or share link
Here is a view of the chrome browser profiler when the terminal is open. Notice the 100% cpu usage.
Here is a view of the profiler on my own branch where I added a configuration and set the frame rate to 15 fps
Operating System
Linux
Terminal
n/a