2008/11/4 Matt Wozniski <[EMAIL PROTECTED]>: > > 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
Maybe the font explains it, but I tried the test again with several fonts and gvim always performed the test in 12s or 13s seconds on my laptop. I tried it by adding the line: set gfn=Courier\ 10 I also tried... set gfn=Courier\ 10 set gfn=Courier\ New\ 10 set gfn=Monospace\ 8 set gfn=Monospace\ 10 set gfn=MiscFixed set gfn=RufScript\ 10 Even with a non fixed size font like "RufScript\ 10" the test with gvim completes in ~ 12 seconds only. RufScript font is available at http://hiran.in/blog/rufscript-font. MiscFixed font is available at http://dominiko.livejournal.com/16547.html -- Dominique --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
