Wednesday, August 6, 2014

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

Sarath Addanki wrote:
> On Wednesday, August 6, 2014 11:37:44 AM UTC-4, Charles Campbell wrote:
>> Hello:
>>
>>
>>
>> May I suggest that you try the usual sort of thing to avoid
>>
>> entanglements with plugins and settings:
>>
>>
>>
>> vim -u NONE --noplugins
>>
>> :set nocp
>>
>>
>>
>>
>>
>> then set up insert mode and try pasting text.
>>
>>
>>
>> Regards,
>>
>> Chip
> I ran like you mentioned, below is the profiling stats. eval_init is taking time.
>
> %Time Seconds Cumsecs #Calls msec/call Name
>
> 100.0 0.01 0.01 1 10.00 eval_init
> 0.0 0.00 0.01 7850 0.00 windgoto
> 0.0 0.00 0.01 7829 0.00 out_char
> 0.0 0.00 0.01 7824 0.00 out_flush_check
> 0.0 0.00 0.01 6611 0.00 ptr2cells
> 0.0 0.00 0.01 6600 0.00 win_lbr_chartabsize
> 0.0 0.00 0.01 2648 0.00 vim_islower
> 0.0 0.00 0.01 2098 0.00 vim_isupper
> 0.0 0.00 0.01 1759 0.00 vim_strchr
> 0.0 0.00 0.01 1365 0.00 netbeans_filedesc
>
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

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

Post a Comment