[Qt-interest] QNetworkAccessManager in GUI thread
Nitin Mahajan
nitinm76 at yahoo.com
Wed Feb 3 04:41:34 CET 2010
Hello,
--- On Tue, 2/2/10, Thiago Macieira <thiago at kde.org> wrote:
> From: Thiago Macieira <thiago at kde.org>
> Subject: Re: [Qt-interest] QNetworkAccessManager in GUI thread
> To: qt-interest at trolltech.com
> Date: Tuesday, 2 February, 2010, 4:38 PM
> Em Terça-feira 2. Fevereiro 2010,
> às 00.04.40, Nitin Mahajan escreveu:
> > The readAll() and the write() calls are the one which
> are spending
> > significant amount of time, as reported by ltrace.
> >
> > How to manage these operations, so that they do not
> freeze the UI?
>
> There isn't a way.
>
> The next step is to profile those functions and find out
> where they are spending
> so much time.
>
> I guess the problem is the many levels of buffering that Qt
> has. Unfortunately,
> to solve that, we'll need to refactor much of the network
> code. I'd like to
> see that done, but it won't happen for Qt 4.7.
>
Can you suggest me some ways to find out functions/ part of source which goes in for some waiting and spends time(During which the UI freezes).
I searched for "waitFor..." kind of funcitons in callgrind output, as well as looked for any exec() for any modal dialog. But these do not seem to be the reasons for my problems.
regards
-Nitin
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT)
> kde.org
> Senior Product Manager - Nokia, Qt Development
> Frameworks
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C
> 33F5 F005 6EF4 5358
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
More information about the Qt-interest-old
mailing list