Comments (12)
Looks like it's fixed now. ;-)
from babe-qt.
i'm not sure why that happens. at startup it does several things: it loads all the views content from the db and sets the artwork it also loads some watcher (QFileSystemWatcher)... how to debug this? how do you check how much % of cpus is using?
from babe-qt.
i just checked with kde system monitor and it appears to be from 17% to 24% maximum of cpu. so this might be releated to QtMultimedia/QMediaPlayer
from babe-qt.
With htop
. That's just cold launch with no changes whatsoever.
from babe-qt.
going to run some checks but i strongly believe this is something outside my code, cause when using https://github.com/andreisergiu98/music-player-qt5 as a based in the very beginning of my experiments with qt5, that app was -and still -using the same amount of cpu and that player doesn't do much.
from babe-qt.
Just used the Arch AUR and I get 85% CPU usage on one core.
from babe-qt.
tonight i will run some testes to find out why is it using so much cpu.
from babe-qt.
i fixed it. it now uses around from 2% to 5%, although when on the albums or artists view the cpu usage increases up to 17 % - 20%
I'm not sure why that is right now.
For now i'm closing this issue, if you find any more abnormal behaviors please don't doubt in report again. thank you :) if you would test my recent changes would be great!
from babe-qt.
Yes, you're right, when on the albums or artists view the cpu increases.
from babe-qt.
my first though was that the paintEvent method override i made in the Album class was causing it but i removed it and still the cpu went that high. maybe is the way i'm creating the object for each album or it might be the image size storage as the qpixmap... i'm not sure anyway right now, i will continue to find a solution. can you confirm please that the cpu usage decreased in the other views besides the two already mentioned?
from babe-qt.
Yes, I can confirm.
from babe-qt.
@mmetak just so you know i've updated master with a fix for the album/artists view high cpu usage. if you could pls confirm when you have the time that the fixes worked for you too woudl be great.
from babe-qt.
Related Issues (20)
- option to change unknown picture
- option to mantain options after closing
- option to play music directly from songs panel
- option for a folder panel
- Search on large collections slow. HOT 6
- Finding similar songs not working HOT 5
- Fedora package
- Issues with Plasma integration - lack of features HOT 2
- Crash importing library HOT 8
- Compilation errors HOT 1
- Support m3u HOT 2
- Requesting AAC support
- Can't synchronize library due to riching limit of opened file descriptors
- Document build system better
- Another crash importing library
- [flatpak] Impossible to add sources
- [flatpak] Wrong app icon under KDE Plasma Wayland session HOT 2
- Library adds all single folders instead of the main one
- Segfault - babe doesn't work on Manjaro? HOT 11
- Uninstall does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babe-qt.