-
Notifications
You must be signed in to change notification settings - Fork 646
0.6.67 makes typing in a medium-sized project too laggy #1323
Comments
Possibly a duplicate of #1272, though I haven't seen stuck keys... what I type comes out correctly as far as I can tell, there's just major lag at times. |
Stuck keys could be something to do with my mechanical keyboard/driver/some other part of my system. Yours may just lag where mine repeats the key while it is lagging. Regardless, I think the underlying issue is the same: the intellisense is blocking on a response from gocode. |
The fact that this autoBuild feature can cause perf issues is not new. Luke had added the below note to the README when he added the completion feature to this extension
The maintainer of the
Now, to @tylerb's point and the issue of #1272: That is a general issue of not letting VS Code get stuck when To @natefinch's point that this is a regression in 0.6.67: I want to dig deeper here. Recent changes in the completion area in the Go extension that can affect performance
With this, I can confidently say that there was nothing done in the recent release of the Go extension that could affect the performance of completions, especially the kind that gets solved by disabling the autobuild feature of @natefinch Can you run a few experiments to compare the experience between the older and the newer versions of the extension?
|
Since about half a year now, the At present, the only advantage of using the With the I didnt do this before as I wrongly assumed that completions from current package also depended on the autobuild feature to stay fresh (which I now know is not the case) |
As explained in #1323 (comment), the auto build feature will be disabled by default. |
In the latest update to the Go extension (0.6.69), the autobuild feature of gocode is disabled by default. |
I have a project that I would consider small to medium sized. The project itself is just a small API, but it does depend on a lot of other packages, which is why I say small to medium. Definitely not a huge behemoth like Kubernetes or Juju.
Typing is really laggy unless I set go.gocodeAutoBuild to false or disable the go plugin. This was not the case with the last version (though I haven't gone back to double check, to be fair.. but I would definitely have noticed this much lag).
It's like 200ms per character, even when deleting (it's most obvious when deleting, because that's easy to do fast, but if you type fast at all, you'll notice it).
I'm on OSX on a brand new macbook pro, so, it shouldn't be a hardware issue.
The text was updated successfully, but these errors were encountered: