gvim rendering is slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vim
Rendering in gvim is very slow compared to previous Ubuntu releases. It's usable, but takes patience. I'm using vim/gvim 7.1.314-3ubuntu3.1 on Ubuntu 8.10.
Others have reported this same issue on a thread from the vim mailing list. Many solutions have been tried w/o success:
http://
From the thread, someone provided this benchmark script:
-- -- --
" Benchmark vim's redrawing speed
let i = 0
while i < 2000
1
redraw
$
redraw
let i = i + 1
endwhile
qa!
-- -- --
I've run it with /etc/init.d/README as an input file (just to pick something consistent across Ubuntu machines):
$ time vim -u NONE -U NONE -S test-redraw-
real 0m5.407s
user 0m0.568s
sys 0m0.048s
$ time gvim -u NONE -U NONE -f -S test-redraw-
real 3m27.614s
user 0m11.685s
sys 0m0.312s
As you can see gvim is almost 40x slower then vim (running in gnome-terminal). You'd expect gvim to be slower then vim, but not by this much. Note, from the thread, not all users experience this huge difference. Some only report 2-3x slowdown, which I'd be very happy with at this point :)
I'm using the radeon X11 driver (open source) on a ThinkPad T42p, and do _not_ experience slow rendering in other apps (for example, gedit).
Changed in vim (Ubuntu): | |
status: | New → Confirmed |
I'm also experiencing this in Oneiric with vim 2:7.3.154+ hg~74503f6ee649 -2ubuntu3.
treed@treed- laptop: ~$ time vim -u NONE -U NONE -S test-redraw- speed.vim /etc/init.d/README
real 0m0.161s
treed@treed- laptop: ~$ time gvim -u NONE -U NONE -f -S test-redraw- speed.vim /etc/init.d/README
real 1m58.164s
I've got a Dell Precicion M4600 with an AMD FirePro. (lspci identifies it as being Whistler XT; AMD Radeon HD 6700M Series)
I'm using the fglrx driver.
Let me know other information is needed.