Re: Project as aggregation of other projects. Indexing disabling for such project
Re: Project as aggregation of other projects. Indexing disabling for such project
- Subject: Re: Project as aggregation of other projects. Indexing disabling for such project
- From: Ruslan Zasukhin <email@hidden>
- Date: Mon, 02 Jan 2012 11:12:06 +0200
- Thread-topic: Project as aggregation of other projects. Indexing disabling for such project
On 12/30/11 1:40 PM, "Andreas Grosam" <email@hidden> wrote:
> I don't think that indexing should be be significantly slower than building.
> If this isn't the case for you, please file a bug report with reproducible set
> of steps / sample project, so that we can take a look.
>
> Unfortunately, this kind of issue isn't reproducible in a trivial example
> project. But maybe the following info helps, too:
>
> The project is part of a workspace which contains roughly 20 targets. Most of
> them are C++ products which includes a couple of headers from the boost
> library.
We do not use boost... Problem not here.
Problem I believe in fact that your and our projects are quite big.
A lots of files hundreds and thousands. Also we use third party libraries,
and their headers.
> A few targets build Objective-C products whose implementation depend
> on these C++ files. I understand that indexing heavy templetized source code -
> like the boost library - is comparable to a stress test for hard and software
> ;)
I believe problem NOT in templates.
We in our project avoid to use boost and STD headers.
So not templates cause problems.
Such problems in speed usually means
LINEAR searches
multi-passing same headers
no precompiled mechanism
no caching ...
> So, when I change a source file (say a header file) which has a lot of
> dependent files, indexing starts and the activity pane says for example
> "Indexing | Processed 1 of 73 files". When building a target it says
> "my_product | Compiling 1 of 6 source filesĀ".
You are luky
We usually see
Processing 1300 files ... :-)
Processing 4200 files
And this happens even if we edit
A) comment ... Oops
B) just add one more empty line ... Oops
> Indexing takes roughly 10 times longer than compiling.
Yes may be such rate also.
> Does this sound interpretable?
> (if not, my project becomes available soon as open source and you can take a
> look at it)
> Would it be possible to interrupt indexing when a program is launched from
> within Xcode? (that way, wall-time of the execution time may become more
> reliable).
Andreas, indexing stops if you press BUILD
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden