How to debug performance of gvim

9 views
Skip to first unread message

Suresh Govindachar

unread,
Jul 25, 2022, 10:15:45 AM7/25/22
to vim...@googlegroups.com
Hello,

The gvim of (A) below is much faster than the gvim of (B) -- how would
one debug this difference in performance?

Both (A and B) are from WSL 2 Ubuntu 20.04 inside Microsot Windows 11

A) $ sudo apt-get install vim-gtk3
# VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 01 2022 09:16:32)
# Included patches: 1-2269, 3612, 3625, 3669, 3741
# Modified by team...@tracker.debian.org #<-- what was done here?
# Compiled by team...@tracker.debian.org
# Huge version with GTK3 GUI.
$ gvim

B) # git clone ...; cd vim/src
$ make clean
$ make distclean
$ ./configure --prefix=/opt/vim --enable-gui --enable-gui=gtk3
--with-features=huge
$ make && make test
$ sudo make install
$ /opt/vim/bin/gvim

--Suresh
Reply all
Reply to author
Forward
0 new messages