[Qt-creator] Clang Code Model Questions
Cristian Adam
cristian.adam at gmail.com
Wed Nov 18 22:14:12 CET 2015
On 11/18/2015 6:10 PM, Mike Jackson wrote:
>
> The wait cursor does not appear when looking at the QtCreator code
> base at the file you specified. I could still type cppModelManager
> before the completion list would pop up for “cppModelManager”. Typing
> a “->” after that was about a 0.5 second delay for the completion list
> to pop up. I strung together a few more completions and they were
> relatively “fast” (around a second to get the completion list). never
> saw the spinning beach ball with any of that.
>
> In our codes we are including boost in a few spots and if I had to
> guess the templates might be what is holding up the clang back end?
> Otherwise our code bases are similar on a total files and current
> document basis.
>
> Thoughts?
>
> Mike Jackson
>
Try Lyx <http://www.lyx.org/> from their git repository. Lyx uses Boost,
Qt5 and more.
My CMake configure parameters were:
-DLYX_DEPENDENCIES_DOWNLOAD -DLYX_USE_QT=QT5
-DCMAKE_PREFIX_PATH=c:\Qt\Qt5.5.1\5.5\msvc2013\lib\cmake\
Global/Indexing Snapshot : 2558 Documents
Current Editor's Snapshot (Text3.cpp) : 785 Documents.
Went to the last method in Text3.cpp – Text::inDescriptionItem and added
a "this->". Took like ~6 seconds to
get the popup (older i7 2.6GHz CPU). During the ~6 seconds I didn't see
any Windows wait cursor.
On Qt Creator master on every "this->" I get like ~6 seconds.
With Qt Creator 3.5.1 the first time is slow the next times are way
faster, like one second.
This is a regression and I've opened up QTCREATORBUG-15365
<https://bugreports.qt.io/browse/QTCREATORBUG-15365>
Cheers,
Cristian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151118/4b5f3f63/attachment.html>
More information about the Qt-creator
mailing list