Ni Va wrote:

> Since some days, I notice that time to reach next occurence of a
> search  take time.
> 
> search foo
> 
> n(ext) >>> here I see 1 or 2 seconds to jump to the occurence.
> 
> How can I find the plugin, measure by profile before and after n command?

I added more places to check for a timeout.  Esp. check if resetting
'hlsearch' helps.

To measure time:

        let start = reltime()
        normal n
        echomsg 'elapsed: ' . string(reltimefloat(reltime(start)))

If you have a specfic pattern and text on which it is slow, please let
me know so that I can run the profiler with it.

-- 
hundred-and-one symptoms of being an internet addict:
52. You ask a plumber how much it would cost to replace the chair in front of
    your computer with a toilet.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to