Comments (8)
Can we cache results somehow (in memory perhaps) for speedup autocompletion?
from bingo.
我已经提升级自动补全的性能, 请下载最新版本试用一下.
I have improved the performance of auto-completion, please download the latest version to try it out.
from bingo.
@imxyb
你是在Windows下使用vscode吗? 因该是Windows路径风格导致的,我已经解决了,请下载新版本试一下。
from bingo.
@saibing 我是mac的。我试试新版本
from bingo.
寻找定义和引用快了很多。代码补全感觉相较于 go-langserver 来说延迟还是有点大,大项目(比如 codis)更加明显,要等待几秒的时间。
from bingo.
代码补全跟磁盘性能相关。go-langserver采用的是从编译后.a文件中读取的,如果提前编译好了,速度会很快,但编译后,新增的代码无法实时联想出来。bingo是实时分析当前已经编辑过的文件(主要要调用一个外部命令go list),速度会差一些。
但在SSD硬盘速度应该是可以接受的。你启用一下bingo的-disable-diagnostics开关,把实时的diagnostics关闭掉,看是否有提升?
from bingo.
@saibing 感谢,是有一定的提升的,延迟还是有点大,不过也不是不能接受。
from bingo.
@saibing 感谢!测试比以前有可以感知的性能提升,在我这里日常使用没有性能问题。
from bingo.
Related Issues (20)
- no diagnostic
- Bingo does not update diagnostics after saving HOT 4
- auto completion doesn't work inside Goroutines. HOT 8
- Implement diagnostics range HOT 2
- Bad snippets?
- Imported a new package cannot be completed. HOT 2
- Format structs in quick documentation on hover HOT 4
- Invalid args in completion HOT 1
- can't complete a package which is depend on another package in same project
- some special package will stop the auto complete,e.g. net package HOT 1
- Getting document symbols is very slow HOT 1
- Bingo stops providing any diagnostics HOT 1
- Add possibility to control diagnostics scope HOT 1
- Incorrect import paths in quick documentation HOT 1
- switching to gopls issue? HOT 30
- unknown type name double_t on mac os x10.13.2 HOT 6
- How can I set GOPATH for bingo? HOT 4
- fail get importPath when opening project HOT 6
- saibing/tools 无法创建issue HOT 1
- when i switch to other branch, lsp will remind me some error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bingo.