Wednesday, June 1, 2022

Re: Profiling startuptime > menu.vim take 500ms

ср, 1 июн. 2022 г. в 15:51, Ni Va <nivaemail@gmail.com>:


Le mercredi 1 juin 2022 à 14:50:35 UTC+2, Ni Va a écrit :
Hi Bram, Chris,

Sometimes I use the menu, hélas :)

I tried set langmenu=none in first line of $MYVIMRC but it seems to get same long time.

If you have time to look at, this is my purified standalone distro under win10 :  https://drive.google.com/file/d/1zuDsEuYe3XtEghZn0FIkGnyp0QLr1L_m/view?usp=sharing

Have a good day
Nicolas
Le mercredi 1 juin 2022 à 13:33:50 UTC+2, Bram Moolenaar a écrit :

> Is it possible to reduce startuptime that menu.vim seems to take ? about
> 500ms?

There is something wrong with your setup, all the "self" times are zero.
Not sure why that happens.

On my system menu.vim only takes 4 msec to load. Perhaps you are using
translatins? Try this:
:set langmenu=none
Make sure it's set before menus are loaded.

--
ARTHUR: Well, I AM king...
DENNIS: Oh king, eh, very nice. An' how'd you get that, eh? By exploitin'
the workers -- by 'angin' on to outdated imperialist dogma which
perpetuates the economic an' social differences in our society! If
there's ever going to be any progress--
The Quest for the Holy Grail (Monty Python)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/8eb24abf-be67-464d-955b-a064b8df0212n%40googlegroups.com.

 
The real slowdown is due to GUI startup.

If you want to check how exactly slow the menu script is then try `gvim --cmd 'let did_install_default_menus=1' --startuptime start_no_menu` and compare.

It could take about extra 100ms but no more.

Regards,
Matvey

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAFsTB%2B%2B93ZvXe9ys%2BJK_%2BBzxnDzOy2wcU_9qi7s1QAVfhGvwpw%40mail.gmail.com.

No comments:

Post a Comment