eelab <[email protected]> wrote:

> Hello,
>
> I am trying to use vim on HP-UX 11.31 ia64 OS.
>
> Everything is a bit slow (file open, paste, ...) but finding in files is
> really unbearable. With a 7.8MB 53000 line file it took 140 secs (!)
> to find through the lines and confirm the asdfghi is not there. It
> takes on 11.23 only 2-3 secs.

Hi

You could compile Vim with gprof (GNU profiler) by uncomenting
this line in vim/src/Makefile:

 #PROFILE_CFLAGS = -pg -g -DWE_ARE_PROFILING

Then run Vim, run vim and perform something slow and quickly
exit Vim. When exiting, Vim will create a file gmon.out which you
can analyze with...

$  gprof vim gmon.out

... where vim is the file name of the executable built
with: -pg -g, and gprof.out is the file created when
exiting vim.

This plugin which can help navigate in the call graph
of gprof output:

http://www.vim.org/scripts/script.php?script_id=4077


> I started with a vim v6.3 copied from an other HP-UX 11.23
> ia64 but also compiled a vim v7.3 on 11.31 and both behave the same.

If you're using 7.3, you're missing many patches.
You'd be better off with the latest Vim-7.3.762 which
you can checkout with Mercurial: http://www.vim.org/mercurial.php

Some of the patches optimize speed but they would not
explain why everything is slow with Vim-7.3. More importantly,
patches fix many bugs and add a few small features.

Regards
-- Dominique

-- 
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

Reply via email to