On Tue, Nov 4, 2008 at 4:35 PM, Tony Mechelynck wrote: > > On 04/11/08 22:25, Matt Wozniski wrote: >> >> On Tue, Nov 4, 2008 at 3:48 PM, Tony Mechelynck wrote: >>> Even in Console mode, Vim compiled with +x11 will try to connect to the >>> X server at startup because it still uses X for the +clipboard and/or >>> +clientserver features, to save and restore the console window title, >>> its contents (+xterm_save), and to "save itself" at X-windows closedown >>> (+xsmp or +xsmp_interact). >> >> I'm not sure I follow - what does this have to do with his results? X >> connection or no X connection shouldn't affect the time spent >> redrawing, and certainly not by 50 seconds. > > no X connection affects the time starting up, because Vim waits for its > connection with the X server to time out. This may or may not influence > the results shown above, depending on how they are collected (they will > if it is from invoking to exiting Vim) but it's always good to know.
It might be good to know, but it's certainly not relevant to whatever problem these people are seeing... My WAG is that they're seeing a font rendering regression (Pango? Freetype?), since I can reproduce this problem in Debian Unstable with GTK2-GNOME gvim (105 seconds for Dominique's benchmark) but not with the X11-Motif gvim (14 seconds for Dominique's benchmark) or xterm/screen (13 seconds). In GTK2 gvim, I used "DejaVu Sans Mono 7", in the others I use "-misc-fixed-medium-r-semicondensed--13-120-*-*-c-60-iso10646-1". Yep - just tested, and sure enough... switching my xterm font to DejaVu size 8 brings the Dominique's benchmark up to 94 seconds from 13. ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
