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
I have a project which has 3278 ruby files not including vendor.
I started up vscode and the server startup time after opening a ruby file took ~5 minutes or so.
I have a fairly good laptop with i7 8 cores and such.
What I'm asking is... is this normal? I mean it probably is, since it's parsing every file possible. And after startup everything works smoothly. I'm just curious if this is normal. :)
That's about what I'd expect from a project of that size, depending on LOC. Here are some recent benchmarks on a Windows 10 PC with AMD 4GHz 8-core and 32 GB RAM:
Files
LOC
Seconds to load
12
608
2
60
4062
3
178
10989
22
344
43621
23
1122
133320
147
The number of gem dependencies can also have an impact, but the most time-consuming part of initialization is usually indexing the project files.
Load times are an ongoing concern. I'm experimenting with ways to improve it, but right now the best solution is to make sure you limit the included files to the code you absolutely need to index.
Hi.
I have a project which has 3278 ruby files not including vendor.
I started up vscode and the server startup time after opening a ruby file took ~5 minutes or so.
I have a fairly good laptop with i7 8 cores and such.
What I'm asking is... is this normal? I mean it probably is, since it's parsing every file possible. And after startup everything works smoothly. I'm just curious if this is normal. :)
I've also added this config:
So vendor should be ignored, right?
Thanks.
The text was updated successfully, but these errors were encountered: