This forum has been archived. All content is frozen. Please use KDE Discuss instead.

skrooge very slow on archlinux with gnome

Tags: None
(comma "," separated)
salvatorerusso
Registered Member
Posts
8
Karma
0
Hello,

Skrooge is very very slow to create a new expense. It may take a many seconds wheras it was instantaneous previously.

Any idea to help?

Thanks for the feedback,
Salvatore
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
Could you try a profiling?

Here is the information to know how to do:
https://techbase.kde.org/Projects/Skrooge#Profiling


Skrooge, a personal finances manager powered by KDE
Image - PayPal
salvatorerusso
Registered Member
Posts
8
Karma
0
Hello,

thanks for the answer. Here is the result (not very good :'( ):
method ; nb call ; millisecondes ; average ; min ; max ; own time ; average own time

When I launch Skrooge from the terminal, here is what I have:
##WARNING: Could not find drkonqi at /usr/lib/drkonqi
##WARNING: Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
##WARNING: KServiceTypeTrader: serviceType "ThumbCreator" not found
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.77'
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified

It seems that the profiling didn't worked. I followed the instructions:
export SKGTRACEPERFO=1 in the terminal,
then start skrooge
then reinit profiling
then create a new item since it is very very slow
then open profiling.

Salvatore
PS: As a reminder, I am on Archlinux, using Gnome3
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
Could you try this from the console?
1-export SKGTRACESQL=2000
2-skrooge
3-run your scenario
4-send me traces


Skrooge, a personal finances manager powered by KDE
Image - PayPal
salvatorerusso
Registered Member
Posts
8
Karma
0
Here is what I get from the terminal:
##WARNING: Could not find drkonqi at /usr/lib/drkonqi
##WARNING: Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
##WARNING: KServiceTypeTrader: serviceType "ThumbCreator" not found
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
##WARNING: QFSFileEngine::open: No file name specified
skrooge 19,17s user 2,38s system 10% cpu 3:23,81 total

I didn't found any menu to get the "traces". Do you need something more?

Salvatore
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
Hi,

I can propose you 2 solutions to go further:

Solution 1:
You build skrooge in debug mode and repeat the 2 previous proposals to get traces.

Solution 2:
You create an anonymized skg file (see Tools/Anonymize in Skooge).
You check that you still able to reproduce this issue with this file.
You send me by email this anonymized (you can find my email in the About of Skrooge).

Regards.


Skrooge, a personal finances manager powered by KDE
Image - PayPal
salvatorerusso
Registered Member
Posts
8
Karma
0
ok, I send you my file right now...

Thanks,
Salvatore
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
For all,

Thanks to the many tests done by Salvatore, I found that the performance issue was due to a sort function used to fill all combobox.
I did a correction (Before 3.5s, after 20ms !!!)
http://quickgit.kde.org/?p=skrooge.git& ... b07776469f

Regards.


Skrooge, a personal finances manager powered by KDE
Image - PayPal
salvatorerusso
Registered Member
Posts
8
Karma
0
thanks to you Stephane for all your support and this great tool that you offer us with your team.
Salvatore


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]