Ignore:
Timestamp:
Sep 5, 2006, 1:23:19 AM (19 years ago)
Author:
dmik
Message:

iris/xmpp-im: Added todo regarding the 100% CPU load when discovering services on some jabber servers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/iris/xmpp-im/client.cpp

    r2 r17  
    472472void Client::streamReadyRead()
    473473{
    474         // HACK HACK HACK
     474        /// @todo (dmik) when doing service discovery on some servers
     475        //  (i.e. jabber.ru), this method's execution time can exceed up to
     476        //  2,5 sec (on my Pentium D 820) that is obviously too much because
     477        //  gives quite a noticeable GUI thread freeze (so that the Psi app
     478        //  doesn't respond to system/input messages). Approx. 0.8 sec is taken by
     479        //  s.toString(), and the rest is by QDomElement x = oldStyleNS(s.element()).
     480        //  and distribute(). Ideally, parsing and distribution of lagre pieces of
     481        //  data should be somehow done on a separate thread.
     482       
     483        // HACK HACK HACK
    475484        QGuardedPtr<ClientStream> pstream = d->stream;
    476485
Note: See TracChangeset for help on using the changeset viewer.