[cfe-dev] Announcing Crange

Csaba Raduly rcsaba at gmail.com
Sat May 10 00:18:38 PDT 2014


On Fri, May 9, 2014 at 3:22 PM, Renato Golin  wrote:
> On 9 May 2014 13:08, Anurag  wrote:
>> The source metadata collected by Crange can help with building tools
>> to provide cross-referencing, syntax highlighting, code folding and
>> deep source code search.
>
> Hi Anurag,
>
> This sounds like a very useful tool. We did something similar (Clang,
> SQLite, cross-references) but never got around releasing anything.
>
>
>> Running crtags on Linux kernel v3.13.5 sources (containing 45K files,
>> size 614MB) took a little less than 7 hours (415m10.974s) on 32 CPU
>> Xeon server with 16GB of memory and 32 jobs. The generated tags.db
>> file was 22GB in size and contained 60,461,329 unique identifiers.
>
> Did you compare against CTags/ETags? IDEs indexing services (Eclipse,
> CodeBlocks, etc)?
>
> I know the depth you get with Clang is orders of magnitude more than
> ctags, but ctags finishes all my projects in a couple of minutes. I'd
> only accept 28 hours (I only have 8 CPUs) if it did my morning coffee
> and toast, too. :)

I think it could do even better than that:

https://www.youtube.com/watch?v=7uBNCN6v_gk
https://www.youtube.com/watch?v=-NYduubaf8Y

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list