Extremely bad performance on some sources [message #873411] |
Fri, 18 May 2012 07:18 |
Nobody Mising name Messages: 75 Registered: July 2010 |
Member |
|
|
I have several source files in the project with extremely bad performance when editing. For example when I edit code (without saving it) and try to use Open Declaration I have to wait about 45 seconds to jump to the declaration. Same for find references/call hierarchy initiated after editing this source file. But it seems that content assist works good, almost no delays even for new introduced variables while editing.
Even if I rebuild the index for the whole project (it takes about 8 minutes), and then open this source in the editor I have to wait about 30 seconds for semantic highlight to appear and both cores of CPU are fully used. And if I try to open declaration for the include it takes about 20 seconds.
The source is about 2k lines in cpp and there are includes from STL and some other project headers. There are no heavy templates or big macro expansions, just regular C++ code with classes.
What can I do about this? Is it possible to fix this somehow?
[Updated on: Fri, 18 May 2012 07:23] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03211 seconds