axonops / axonops-workbench

AxonOps™ Workbench for Apache Cassandra® - Desktop application for Mac, Windows and Linux
https://axonops.com
Apache License 2.0
10 stars 0 forks source link

[feat] Excessive CPU use when idle #238

Open rgooding opened 1 month ago

rgooding commented 1 month ago

This mainly seems to affect macOS and Linux but the CPU use while idle on Windows is a bit high too.

On each of these platforms I have launched the application, connected to a cluster and run a query or two then closed the CQLSH view, then measured the CPU use while the application is idle on the Workspace view:

Windows 10: 15-20% Windows 11: 7-10% but Windows 11 puts the process into efficiency mode to limit its resource use Linux: 30-60% macOS: 30-60%

Given that the application is not doing anything I would not expect it to be using over half a CPU core and affecting the performance of other applications.

mhmdkrmabd commented 3 weeks ago

Working on that.

mhmdkrmabd commented 3 weeks ago

The main cause of the high CPU usage has been spotted and handled, I'll wait for the feedback regard the implemented changes after the next build