For anyone interested: I added a QTime::start() and elapsed() lines around 'cursor.endEditBlock()' in basetexteditor.cpp's line 820 (snapshot downloaded this morning). When I experience slow responses in Creator (for my test runs) endEditBlock() at that line takes around 1.8 seconds to complete.
Without testing a bit, I would imagine all the sluggishness is due to something lengthy happening in endEditBlock(). Quickly looking at the endEditBlock() implementation, it is playing around with QSharedDataPointer-stuff. That may cause network accesses somewhere in the background. -- jussi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext Boy Lenssen Sent: 07 May, 2009 15:30 To: [email protected] Subject: Re: [Qt-creator] Qt Creator response too slow Sounds like you're on the good route! I believe the lasting time (about 300 ms) is about what I'm experiencing (or maybe a bit more...not sure) -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: donderdag 7 mei 2009 13:37 To: [email protected] Subject: Re: [Qt-creator] Qt Creator response too slow Valgrind, good as it is, is N/A for Vista. I did a quick trial runs with Sysinternals' Process Monitor. Test setup was the same in both cases: same project, same code file, same point in a method, hit enter at that line. The main difference between 1.0 and 1.1 is that the latter does ends up spending 0.3 of a second at the nearest Windows Domain Controller (\\xxwdc101\PIPE\samr) doing pipe operations: writing, reading and calling FileSystemControl (FSCTL_PIPE_TRANSCEIVE). These DC accesses occurred 14 times in my small log with each occurrence lasting for about 0.2-0.3 seconds. You doin' some funky pipe stuff in QtCreator now ;) -- jussi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ext Aleksandar D. Balalovski Sent: 07 May, 2009 14:19 To: [email protected] Subject: Re: [Qt-creator] Qt Creator response too slow On Thu, May 7, 2009 at 1:15 PM, <[email protected]> wrote: > Is there some option to enable humongous debug/event logs that would help in pinpointing where time is spent? > Maybe with valgrind? -- http://blog.gemidjy.me || http://wiki.lugola.net Member of Lugola, 2s.mk, FSF (no.6023), IFSA GnuPG: 754AC43D, I'm an FSF member -- Help us support software freedom! http://www.fsf.org/jf?referrer=6023 macedonian free software and hacking ezine: [Lugarchy: http://ezine.lugola.net] _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
