Replies: 1 comment 1 reply
-
Hey @goto40, running into performance issues with large workspaces is very much expected. Without any specific optimizations, linking is Ideally, you should create one langium/packages/langium/src/references/scope-provider.ts Lines 100 to 102 in e9d0c27 You should probably use something similar, on a more local level. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We use langium 3.5.
We have just observed a strange performance effect and may have misunderstood some details.
ScopeComputation
implementation to provide global names. This works like a charm.ScopeProvider
, using thethis.indexManager
of theScopeProvider
which allow us to getallElements
with the desired filter functionality. This also works, BUT is very slow (unusable with our 60000 LOC model file; it takes many seconds to load the file).Did oversee a detail? Any help is appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions