2008/11/4 François Ingelrest <[EMAIL PROTECTED]>: > On Mon, Nov 3, 2008 at 23:10, Dominique Pelle <[EMAIL PROTECTED]> wrote: >> And here are the results below using my Linux x86 laptop >> [Intel(R) Core(TM) Duo CPU T2250 @ 1.73GHz]. >> >> With vim-7.2.26 (huge, GTK2-GNOME GUI): >> >> real user sys >> ------------------------------------- ------ ------ ------ >> vim-7.2.26 in xterm ................. 2.312s 0.968s 0.072s >> vim-7.2.26 in gnome-terminal ........ 12.469s 0.972s 0.080s >> gvim-7.2.26 ......................... 7.715s 5.800s 0.140s >> >> >> With vim-7.1.138 (that comes with Ubuntu-8.04, GTK2-GNOME GUI): >> >> real user sys >> ------------------------------------- ------ ------ ------ >> vim-7.1.138 in xterm ................ 2.320s 1.120s 0.088s >> vim-7.1.138 in gnome-terminal ....... 15.384s 0.996s 0.056s >> gvim-7.1.138 ........................ 26.614s 25.014s 0.376s > > Here are my results (Vim 7.2.25, default features, GTK2 support) on my > laptop (Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz): > > GVim: > gvim -u NONE -U NONE -f -S test-redraw-speed.vim > ~/Install/Vim/src/README.txt 9.12s user 0.28s system 2% cpu 6:41.49 > total > > Gnome-terminal: > vim -u NONE -U NONE -S test-redraw-speed.vim > ~/Install/Vim/src/README.txt 0.75s user 0.06s system 2% cpu 35.531 > total > > Xterm: > vim -u NONE -U NONE -S test-redraw-speed.vim > ~/Install/Vim/src/README.txt 1.95s user 0.07s system 22% cpu 9.147 > total > > Xterm doesn't use the same font as Gnome-terminal, so I don't think > the difference between them is that significant at the end. And yes, > it really took 6:41 to run the benchmark with GVim :-) I wasn't doing > anything else during the test...
Those are strange results. You have a faster processor (2.16 Ghz core2 vs 1.73Ghz core2) and yet redraw in gvim is about 52 times slower than on my laptop (6min 41.49s vs 7.715s)!? But only 9.12s was spent in gvim out of the 6min 41 sec, if I understand your numbers correctly. So most of the time may be spent in the x-server I suppose (what else?) How about running top in another terminal while running the benchmark to see which process is really the CPU? On my PC, gvim takes about 75% of the CPU and Xorg takes 21% (total is more than 100% because I have 2 cores). My hardware: - video: nVidia G70 [GeForce Go 7600] 1440x900 pixels nVidia driver version: 169.12 X.Org X Server 1.4.0.90 - cpu: Intel(R) Core(TM) Duo CPU T2250 @ 1.73Ghz - RAM: 1Gb I will probably upgrade Ubuntu 8.04 -> 8.10 next weekend, and I'll run the same benchmark again. -- Dominique --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
