chronos-timetracker
chronos-timetracker copied to clipboard
High CPU usage
Expected Behavior
It's just timer. It shouldn't use more than 0.1% CPU.
Actual Behavior
It usually uses more than 10% CPU. Also the CPU usage builds up in time, I need to restart Chronos every day in order to keep it around 10%. If I don't restart the app often, it can easily use more than 25% CPU.
Steps to Reproduce the Problem
- Start Chronos
- Start tracking time
- Watch the system resources to be eaten up by this app
Specifications
- Chronos-timetracker version: 4.2.0
- OS: OSX Sierra 10.12.6
Attached screen is after running the app for half a day
This is after running the app for one day without a restart. I mean... Come on!
Agree, It's not normal. what version it is?
It's 4.2.0. I will profile the app for you once the usage is high
Similar here:
-
Chronos-4.0.0-x86_64.AppImage
-
Ubuntu 18.04.3 LTS
-
4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CPU usage is ~1 full core:
...though I'd say I can run chronos for the whole week without increasing CPU consumption. That's the reason why I'm kinda afraid to upgrade to 4.2 =)
Also RAM at ~0.3GB? Uh oh...
here is a brief snapshot of Chronos when the cpu usage is between 10% to 13%
It's OSX "Sample", is this format good for you?
Okay, I was wrong. Restarting chronos helped a lot :) Currently at: 1-3% CPU usage.
@VladimirPal any news on this?
Still same on the latest version
Is it because of using screenshot-desktop package instead of native Electron screenshot?
the high CPU problem is present even when the screenshots are disabled