On Wed, Dec 23, 2009 at 04:08:26PM EST, Charles Campbell wrote:
> Chris Jones wrote:

[..]

> > So it looks as if there are glitches when it takes forever, and
> > normal circumstances where it takes somwhere between 3-5 seconds to
> > load a directory, why is too slow to my taste.
> >
> > I'll try to run tests again when I have more time.
> >   

> Would you try this with netrw?  Since you seem to like tree mode, put

>   let g:netrw_liststyle= 3

> in your .vimrc.  In a directory of mine with 245 files: (and loading
> all my usual plugins, etc)

> time gvim . -c "q"
> real    0m0.22s
> user    0m0.17s
> sys     0m0.02s

Here's what I get with NERDTree:

--------------------------------
$ cd
$ time vim . -c "q"
real    0m12.837s
user    0m5.060s
sys     0m0.296s
--------------------------------

ahem..

A couple more runs:

--------------------------------
real    0m12.021s
user    0m4.988s
sys     0m0.412s
--------------------------------

--------------------------------
real    0m11.642s
user    0m5.260s
sys     0m0.292s
--------------------------------

So it wasn't my imagination :-)

Home directory stats:

--------------------------------
$ ls -a ~ | wc
194     194    1981
--------------------------------

And here's what I get with netrw:

--------------------------------
$ time vim . -c "q"
real    0m5.265s
user    0m2.356s
sys     0m0.264s
--------------------------------

Not what I call blistering fast, but definitely more acceptable.

CJ

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to