Summary: | dataengine performance (multiple stat /etc/localtime calls) | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Amichai Rothman <amichai2> |
Component: | dataengines | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cfeck, j, notmart, oded |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/ac5d3d2f916c0a461121d4d033642227bd743edb | Version Fixed In: | 4.14 |
Sentry Crash Report: |
Description
Amichai Rothman
2014-06-21 16:45:45 UTC
Thanks for the good analysis. I created a review request to test at https://git.reviewboard.kde.org/r/118869/ Ok, trying to run it a bit with the patch on. By the way, this probably should be done in both kde4 and plasma5 I guess Git commit ac5d3d2f916c0a461121d4d033642227bd743edb by Christoph Feck. Committed on 23/06/2014 at 11:02. Pushed by cfeck into branch 'master'. Use QElapsedTimer for data engines REVIEW: 118869 M +3 -5 plasma/datacontainer.cpp M +3 -3 plasma/dataengine.cpp M +2 -2 plasma/private/datacontainer_p.h M +2 -4 plasma/private/dataengine_p.h http://commits.kde.org/kdelibs/ac5d3d2f916c0a461121d4d033642227bd743edb Git commit fec57bdaa2622efbab88061e3d84fda03a806376 by Christoph Feck. Committed on 23/06/2014 at 11:03. Pushed by cfeck into branch 'master'. Use QElapsedTimer for data engines forward port of http://commits.kde.org/kdelibs/ac5d3d2f916c0a461121d4d033642227bd743edb REVIEW: 118869 M +3 -5 src/plasma/datacontainer.cpp M +3 -3 src/plasma/dataengine.cpp M +2 -2 src/plasma/private/datacontainer_p.h M +2 -4 src/plasma/private/dataengine_p.h http://commits.kde.org/plasma-framework/fec57bdaa2622efbab88061e3d84fda03a806376 Can someone running 14.4 say how the cpu usage look in this scenario after the fix? Can someone running 4.14 say how the cpu usage looks in this scenario after the fix? While showing CPU load of 4 cores plus total, plasma-desktop shows between 0.25 and 0.75% CPU usage on a intel Q6660 when the window is minimum size and 0.5s update rate. If I make the window somewhat bigger it the cpu usage is around 1.25 to 1.50%. KDE 4.14 *** Bug 273214 has been marked as a duplicate of this bug. *** |