hcavarsan / kftray

A cross-platform system tray application for managing multiple kubectl port-forward commands, with support for UDP and proxy connections through k8s clusters

Home Page:https://kftray.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High idle CPU utilisation

JamieG opened this issue · comments

Describe the bug
When the application is running it's constantly hitting between 10% and 20% utilisation even with the UI hidden, unaffected by if the port forwards are enabled or not.

To Reproduce
Steps to reproduce the behaviour:

  1. Start the application
  2. Monitor CPU utilisation using Task Manager

Expected behaviour
CPU utilisation and memory allocations should be close to zero whilst the application is not performing any actions.

Screenshots
2024-02-26 12_58_16-Task Manager

Desktop (please complete the following information):

  • OS: Windows 11 Pro

I get the same too. I've actually stopped using it because of this. Shame, as it would be really useful if it wasn't for this high resource usage.

@JamieG @dracan its a weird behavior. i'll dig into the error locally and hit you up with any news. thx for the heads up

@JamieG @dracan ok, I just fixed a useEffect in the frontend that was apparently looping, and now it seems that the problem has been solved, can you check if it's ok now?

the fix is in this new release: https://github.com/hcavarsan/kftray/releases/tag/v0.7.1

Looks good! :)

image

Looks good, thanks for fixing so quickly. This is a really nice tool thanks!

thank you for the feedback! hope you are enjoying it. if you have any issues, please let me know.