wavetermdev / waveterm

An open-source, cross-platform terminal for seamless workflows
https://www.waveterm.dev
Apache License 2.0
4.25k stars 108 forks source link

Hi CPU when a cell is waiting for a command to comlete #750

Open jduprey opened 2 months ago

jduprey commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

I see high CPU utilization while Wave waits for the commend to complete. When not waiting on a cell to complete, CPU is OK.

To Reproduce Steps to reproduce the behavior:

  1. Run any command in Wave - e.g. sleep 300

Expected behavior Waiting for a command to finish should have very little overhead.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context This is ubuntu running on an old macbook pro. Is it my graphics?

lspci | grep -i vga: 00:02.0 VGA compatible controller: Intel Corporation Iris Graphics 6100 (rev 09)

image

esimkowitz commented 2 months ago

This is a known issue with our running command spinner, it's very inefficient. We're planning to address this in a future release

jduprey commented 2 months ago

100+% very inefficient indeed. Thank you for the reply.

Wave will be unusable on this otherwise capable laptop until it is fixed.