Sunday, November 10, 2013

Re: How do I enable profiling when compiling vim?

The answer is:

rm src/auto/config.cache ; ./configure --with-features=huge

Notice the +profile.

:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 8 2013 01:03:57)
Compiled by myles@myles-EP45-UD3P
Huge version with GTK2 GUI. Features included (+) or not (-):
+arabic +diff +jumplist -mouse_sysmouse +scrollbind +virtualedit
+autocmd +digraphs +keymap +mouse_urxvt +signs +visual
+balloon_eval +dnd +langmap +mouse_xterm +smartindent +visualextra
+browse -ebcdic +libcall +multi_byte -sniff +viminfo
++builtin_terms +emacs_tags +linebreak +multi_lang +startuptime +vreplace
+byte_offset +eval +lispindent -mzscheme +statusline +wildignore
+cindent +ex_extra +listcmds +netbeans_intg -sun_workshop +wildmenu
+clientserver +extra_search +localmap +path_extra +syntax +windows
+clipboard +farsi -lua -perl +tag_binary +writebackup
+cmdline_compl +file_in_path +menu +persistent_undo +tag_old_static +X11
+cmdline_hist +find_in_path +mksession +postscript -tag_any_white -xfontset
+cmdline_info +float +modify_fname +printer -tcl +xim
+comments +folding +mouse +profile +terminfo +xsmp_interact
+conceal -footer +mouseshape -python +termresponse +xterm_clipboard
+cryptv +fork() +mouse_dec -python3 +textobjects -xterm_save
+cscope +gettext -mouse_gpm +quickfix +title
+cursorbind -hangul_input -mouse_jsbterm +reltime +toolbar
+cursorshape +iconv +mouse_netterm +rightleft +user_commands
+dialog_con_gui +insert_expand +mouse_sgr -ruby +vertsplit
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/l
ib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbu
f-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-li
nux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/u
sr/local/include -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-
2.0 -lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lnsl -ldl

--
--
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/groups/opt_out.

No comments:

Post a Comment