[telepathy] [Bug 332497] Option for preload contactlist module and keep in memory for quick open-close contact list window

Murz MurzNN at gmail.com
Wed Apr 2 19:47:54 BST 2014


https://bugs.kde.org/show_bug.cgi?id=332497

--- Comment #5 from Murz <MurzNN at gmail.com> ---
Version of kde-telepathy is 0.7.80.

Here http://pastebin.com/raw.php?i=54n4cCs9 is output of command:
$ time ktp-contactlist --nofork
- run first time after boot, time from command to contact list showed is about
7 seconds.

Here is output when it is closed:
real    28m15.718s
user    0m2.828s
sys     0m0.350s



Here is second run of kde-telepathy:
-------------------------------------------------------
$ time ktp-contactlist --nofork
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
ktp-contactlist(31171) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
tp-qt 0.9.3 WARN: Error parsing config file for connection manager "haze" -
introspecting  
tp-qt 0.9.3 WARN: Error parsing config file for connection manager "haze" -
introspecting  
ktp-contactlist(31171) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
ktp-contactlist(31171) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
ktp-contactlist(31171) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
tp-qt4-tpl DEBUG:  static Tpl::Utils* Tpl::Utils::instance()  :  Created Utils
instance 

real    0m6.530s
user    0m1.132s
sys     0m0.271s
-------------------------------------------------------
Time is about 1-2 seconds.

Here is after some time of work with system after close contactlist:
-------------------------------------------------------
$ time ktp-contactlist --nofork
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
ktp-contactlist(32460) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
tp-qt 0.9.3 WARN: Error parsing config file for connection manager "haze" -
introspecting  
tp-qt 0.9.3 WARN: Error parsing config file for connection manager "haze" -
introspecting  
ktp-contactlist(32460) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
ktp-contactlist(32460) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
ktp-contactlist(32460) KPixmapSequence::Private::loadSequence: Invalid
framesize. 
tp-qt4-tpl DEBUG:  static Tpl::Utils* Tpl::Utils::instance()  :  Created Utils
instance 
Bus::open: Can not get ibus-daemon's address. 
IBusInputContext::createInputContext: no connection to ibus-daemon 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x4400085

real    0m11.533s
user    0m3.332s
sys     0m0.560s
-------------------------------------------------------
Time is about 3-4 seconds.

But this is on quick computer - Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 4 GB
RAM, SSD Drive.

I will repeat this test on my work computer and report here. My work computer
boots from network (pxe boot on 1gbit network via nfs), so 3-4 seconds here
will be 10-15 seconds on work computer.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list