<div dir="ltr">No, I am using Release+Asserts build<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 5:46 PM, Halfdan Ingvarsson <span dir="ltr"><<a href="mailto:halfdan@sidefx.com" target="_blank">halfdan@sidefx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>If you're using a debug build of clang,
which is the default if building from sources, then I'd expect
very poor performance. Try rebuilding in optimized mode
('configure --enable-optimized') and then re-running your test.<br>
<br>
- ½<div><div class="h5"><br>
<br>
On 13-08-06 01:21 PM, Zurab Btensnae wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>Hello!<br>
<br>
I've tried to use libclang and, first of all, for test
purposes I've indexed LLVM with it (using
clang_indexSourceFile with empty callbacks). But the whole
process takes about an hour, which is very slow. As far as I
know libclang is used in some IDEs as a code assistance
provider, but how it could be if it consumes so much time on
relatively big projects? The project which I'd like to open
is even bigger then LLVM (Mozilla). Is there a way to speed
up parsing - for example to parse headers only once (create
precompiled header for each parsed header), and then reuse
this information in other translation units? Maybe this will
lead to some inaccuracy because contexts are different, but
performance is a showstopper for me :(. I'm ready to try to
hack clang:) if somebody who is familiar with clang will
give me a short briefing on how this could be done in
principle (or maybe this is just impossible).<br>
<br>
</div>
<div>Also I have to say that this is a great project and you
guys are awesome! To thank you, I have included a link to a
cat in a slipper:<br>
<a href="http://0.tqn.com/d/cats/1/0/5/I/3/jasp_slipper291x227.jpg" target="_blank">http://0.tqn.com/d/cats/1/0/5/I/3/jasp_slipper291x227.jpg</a><br>
</div>
<div><br>
</div>
Best regards,<br>
</div>
Zurab</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
cfe-dev mailing list
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>