Thursday, September 2, 2010

Re: ctags performace , parsing thousands of files ? (was `update the ctags automatically, how to do ?`)

On Thu, 2010-09-02 at 20:00 +0800, Aaron Lewis wrote:
> Hi,
>
> Anyone ever think about the performance of ctags ?
> Parsing thousands of files could be really slow , and if a time stamp
> checked before parsing files ( avoiding files that has totally no change at
> all ) , it should be much faster.
>
> Right , just ideas , haven't tried before , and .. don't know how to implement
> for the while .. bit complex somehow.
>
> Could anyone help me check this ?
>

8842 files, 4686170 lines in 10.4 seconds

$ ls
ccache gtk+ obj
dirs gtkhtml openchange
evolution libgweather samba
evolution-data-server local.mk samba4_ver.sh
evolution-exchange Makefile samba4_ver.sh.clean
evolution-mapi Makefile.current tags.list
evolution-webcal Makefile.working.200100208
glib Makefile.working.20100519
rthompso@raker>~/evo-git-head
$ wc -l tags.list
8842 tags.list
rthompso@raker>~/evo-git-head
$ ctags --totals=yes --java-types= -L tags.list
8842 files, 4686170 lines (139323 kB) scanned in 10.4 seconds (13448
kB/s)
278949 tags added to tag file
278949 tags sorted in 0.00 seconds

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment