Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: High CPU usage at idle (performance problems) #2913

Open
rsolvang opened this issue Jan 24, 2025 · 1 comment
Open

[Bug]: High CPU usage at idle (performance problems) #2913

rsolvang opened this issue Jan 24, 2025 · 1 comment
Assignees
Labels

Comments

@rsolvang
Copy link

rsolvang commented Jan 24, 2025

What is your set up?

Cloud Hosted

Version

3.3.3

Describe the issue

First, thanks for making such a brilliant tool! It is really a fresh approach, and I have tried many alternative tools.

On to the bug; when having any given Leantime page open, the CPU usage is quite high. I have started onboarding my team, some of which have slightly older laptops, and it noticeably slows down their computer. That is when there is only one browser window open with Leantime, no other tabs or apps running. When other apps are used simultaneously (video conferencing etc), everything slows down even further.

I have done some poking around on my own machine, and found that the CPU usage of the Leantime tab was about halved when blocking the figure always present (and animated) down in the right corner. CPU usage is still quite high at idle, but somewhat more manageable.

Technical details: My team member is using a decently performant Lenovo laptop with Windows 11 and the latest Chrome version. The Leantime page uses about ~35% of the CPU when opened and idle.

On my own laptop, also a Lenovo with slightly better CPU, Leantime consumes about ~12% of my CPU. When blocking the figure (LEO) with an uBlock rule, The consumption falls to about ~6-7%. Both scenarios causes the laptop fans to spin quite much.

Suggestion for a fix: Is it possible to add an option to turn of the animation on the LEO figure or hide it completely? That would help some. I hope you can find time to investigate why the site consumes so much resources at idle. Currently, it makes it hard for us to use Leantime, as some team members can't use it during a video conference.

Reproduction steps

  1. Open any Leantime page in the browser
  2. Observe the resources that tab uses with a system monitoring tool

Image
Image

Error Logs (LEANTIMEFOLDER/storage/logs)

No response

@marcelfolaron
Copy link
Contributor

Hi,

Thank you for the detailed report. Let me take a look and get back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants