-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow to update, poor benchmark results #358
Comments
Update: A little more research shows that I get similar (very slightly better) benchmark results on a similar setup at home but with more ram and a 4690k. I've re-compiled all the way back to 5.0 and the benchmark results still remain similar. Playing around within Vim, Command-T is actually very fast and usable for a while but begins to slow significantly over time. I've yet to figure out what causes this slow down. Opening 100 buffers in succession does cause a slowdown in Vim itself and Command-T but not to anywhere near the same extent as I'm witnessing after having Vim open for a day or two of constant use. Here is a profile log extract to show exactly how bad the issue can become after a couple of days usage:
That's 10 seconds to handle 29 keypresses. Here is a profile on the same project after a fresh vim start:
But the numbers don't really reflect the huge slowdown. It feels like the difference between comfortably usable and unbearably slow. |
Nope. My first suspicion is that some expensive autocommand is running and bogging things down. Could you try reproducing with everything except Command-T disabled and a basically empty vimrc? It's true that your benchmarks are a bit slow, but not dramatically slower. For comparison, here's a typical run on my 2015 MacBook Pro:
|
Hi, I've tried this but it is very difficult to reproduce, as the issue only gets really bad after significant amounts of heavy use. And I can't use my vim as I usually would without my standard dev setup/plugins. I will continue to hunt this down in my spare time and see if I can come up with anything of use. |
Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on the Footnotes
|
Recently Command-T has been slow to update. A vim profile revealed it was actually matchit.vim (for whatever reason). I disabled that and the issue improved dramatically but it is still slow.
I ran a benchmark and these are my results.
This is on a i7 4790k with 16GB ram, in an ubuntu 16.04 virtual machine (VirtualBox) with 4 cpu's and 8GB Ram.
One might think this was something to do with the virtual machine. But this has never been an issue in the past and nothing has really changed. I can only imagine I must be an edge case as this kind of performance drop wouldn't go unnoticed.
Have there been any significant changes to the code base that may have caused this?
The text was updated successfully, but these errors were encountered: