You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(using latest 0.49.0 version with solargraph-rails 1.1.0 on ruby 3.2.2, after running yard gems)
Trying to index the files on a particular project Rails takes too long to finish. The project is big though not particularly huge.
By the way is there a way to disable indexing current project's gems? I wouldn't mind to have only the current project's methods/constants indexed if that's possible and positively impact indexing performance.
Current project vs performance:
$ fd -e rb | wc -l # total number of rb files
7085
$ cat Gemfile | grep --count -E '^\s*gem '# amount of gems (explicitly required)
186
$ cat Gemfile.lock | grep --count -E '^\s*[a-zA-Z_-]+ \(\d'# amount of gems (including dependencies)
393
$ time solargraph scan -v
# ... 269144 lines of output, but doesn't seem to indicate any infinite loop
________________________________________________________
Executed in 654.36 secs fish external
usr time 328.32 secs 0.21 millis 328.32 secs
sys time 117.21 secs 2.45 millis 117.21 secs
When trying to use solargraph with neovim (via nvim-lspconfig, with debug logs enabled and manually edited solargraph's logging.rb to force DEBUG log level):
(using latest
0.49.0
version with solargraph-rails1.1.0
on ruby 3.2.2, after runningyard gems
)Trying to index the files on a particular project Rails takes too long to finish. The project is big though not particularly huge.
By the way is there a way to disable indexing current project's gems? I wouldn't mind to have only the current project's methods/constants indexed if that's possible and positively impact indexing performance.
Current project vs performance:
When trying to use solargraph with neovim (via
nvim-lspconfig
, with debug logs enabled and manually edited solargraph's logging.rb to forceDEBUG
log level):config:
I'm not sure how to debug further but would be happy to help as I can. Solargraph is an important piece at my (and my colleagues') workflows.
The text was updated successfully, but these errors were encountered: