Wednesday, August 6, 2014

Re: vim 7.4: pasting is very slow on HP UX machine.

Sarath Addanki wrote:
>> Well, eval_init() appears to do dictionary and variable stuff. So, I
>>
>> wonder if removing $HOME/.viminfo would help (perhaps you could move it
>>
>> to viminfo instead of .viminfo if you really want it instead).
>>
>> Then use vim -u NONE --noplugins and try pasting. Does the vim take
>>
>> awhile to start up? ie. is vim -u NONE --noplugins -X noticeably
>>
>> faster at startup? (that won't let you paste using X11, though).
>>
>>
>>
>> Chip Campbell
> removed .viminfo. strangely, profiling stats are normal. Also,note that vim doesn't take time to startup. I guess the problem is something with hpux OS or X11 libraries stuff.
>
> %Time Seconds Cumsecs #Calls msec/call Name
>
> 0.0 0.00 0.00 7821 0.00 out_char
> 0.0 0.00 0.00 7821 0.00 windgoto
> 0.0 0.00 0.00 7817 0.00 out_flush_check
> 0.0 0.00 0.00 6602 0.00 ptr2cells
> 0.0 0.00 0.00 6600 0.00 win_lbr_chartabsize
> 0.0 0.00 0.00 1628 0.00 vim_islower
> 0.0 0.00 0.00 1573 0.00 vim_strchr
> 0.0 0.00 0.00 1312 0.00 netbeans_filedesc
> 0.0 0.00 0.00 1310 0.00 vim_isupper
> 0.0 0.00 0.00 1289 0.00 mch_breakcheck
> 0.0 0.00 0.00 1289 0.00 ui_breakcheck
> 0.0 0.00 0.00 1269 0.00 get_real_state
> 0.0 0.00 0.00 1226 0.00 check_termcode
> 0.0 0.00 0.00 881 0.00 vim_free
> 0.0 0.00 0.00 616 0.00 del_typebuf
> 0.0 0.00 0.00 616 0.00 vgetc
>
> Thanks
>
So, if I understand you correctly, removing .viminfo made your pasting
work normally? .viminfo is created by vim and lets it remember some
stuff between vim sessions. Read :help viminfo for more.

Regards,
Chip

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: