Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menu.vim の読み込みに時間がかかる #388

Closed
koron opened this issue May 20, 2013 · 4 comments
Closed

menu.vim の読み込みに時間がかかる #388

koron opened this issue May 20, 2013 · 4 comments

Comments

@koron
Copy link
Member

koron commented May 20, 2013

素の 7.3.973 で無パッチ、MSVC2010でGUIデバッグ版

gvimd.exe -u NONE -U NONE --noplugin --startuptime out.txt

で起動して結果がコレ

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:              other lines

000.000  000.000: --- VIM STARTING ---
000.000  000.000: Allocated generic buffers
000.000  000.000: locale set
000.000  000.000: GUI prepared
000.000  000.000: clipboard setup
000.000  000.000: window checked
002.000  002.000: inits 1
008.000  006.000: parsing arguments
008.000  000.000: expanding arguments
008.000  000.000: shell init
008.000  000.000: inits 2
009.000  001.000: init highlight
009.000  000.000: sourcing vimrc file(s)
009.000  000.000: inits 3
019.000  002.000  002.000: sourcing c:\Local\App\vim73-kaoriya-win64\vim73\lang/menu_japanese_japan.932.vim
019.000  002.000  000.000: sourcing c:\Local\App\vim73-kaoriya-win64\vim73\lang\menu_ja.cp932.vim
021.000  000.000  000.000: sourcing c:\Local\App\vim73-kaoriya-win64\vim73\autoload\paste.vim
3139.000  3130.000  3128.000: sourcing $VIMRUNTIME\menu.vim
3158.000  019.000: starting GUI
3160.000  002.000: GUI delay
3160.000  000.000: setting raw mode
3160.000  000.000: start termcap
3160.000  000.000: clearing screen
3160.000  000.000: opening buffers
3160.000  000.000: BufEnter autocommands
3160.000  000.000: editing files in windows
3166.000  006.000: VimEnter autocommands
3166.000  000.000: before starting main loop
3169.000  003.000: first screen update
3169.000  000.000: --- VIM STARTED ---

こんなときどんな顔したら良いかわからないの。

@koron
Copy link
Member Author

koron commented May 20, 2013

ありゃ。デバッグ版だと巨大なログファイルを吐く?
なんか見慣れないログファイルができてる。

@koron
Copy link
Member Author

koron commented May 20, 2013

ああ、そうっぽい。非デバッグ版だと起動速いしログファイルできてない。
つまりデバッグ版だと正規表現エンジンのデバッグ用のログファイルが生成されるため起動が速くなるってことっぽい。

@koron
Copy link
Member Author

koron commented May 20, 2013

とりあえず一報しておいた。

https://groups.google.com/d/msg/vim_dev/niZ0QTP1ucw/Y_doP2oTK-gJ

@koron koron closed this as completed Nov 27, 2013
@koron
Copy link
Member Author

koron commented Nov 27, 2013

NFAエンジンのデバッグログが悪さしてたっぽいので。

Windows GUIでmenuの登録が遅いって問題は別途あるけど、
このIssueはそれが主題ではないってことです。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant