3 ms·
We do that in backend with a hand written, simple parser just to pick up information we needed. And it is fast (can index all JDK8 source symbols in seconds).
by robinshen 10y ago
We do that in backend with a hand written, simple parser just to pick up information we needed. And it is fast (can index all JDK8 source symbols in seconds).
- LeanderK 10y agoi am currently working on a side project [1] to search for java-method usages and also parse java-code on the backend, but it's not as fast as i would like it to be. I did some very obvious performance improvement, but i suspect that for the most time i am waiting to download the sources/to complete the search request. There might also be some serious performance issues (it started as a hackathon project, so...). I hope to find time this weekend to do some benchmarking. I would guess you download the whole git repo at once and then do the parsing and not lazily per file? I also experience high memory usage, it might be the library that i am using. [1] https://exemplator.xyz https://exemplator.xyz