What are the maximum number of nodes we can expect GLSP to handle in a performant way? #904
-
Hi All, I am working on integrating eclipse GLSP with our Theia IDE implementation and we plan to show a large amount of graphical nodes on the screen. I wanted to ask that how many nodes we can expect GLSP to reasonable handle in a performant way? We have a scenario where we have to show a thousand nodes on the screen, is this something we can expect and can we do anything from our side to improve the performance? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, this is very hard to answer generically, but in general ~ thousand nodes in one diagram should be feasible. We did some evaluations in customer projects and with Ecore. Our take-aways were that rendering is the most prominent factor with respect to a snappy user experience. So we recommend to:
The performance of server operations heavily depend on your specific operation and action handler implementations. So for those implementations the usual recommendations apply, such as avoiding iterating through all elements, working with indexes, etc. |
Beta Was this translation helpful? Give feedback.
Hi,
this is very hard to answer generically, but in general ~ thousand nodes in one diagram should be feasible. We did some evaluations in customer projects and with Ecore. Our take-aways were that rendering is the most prominent factor with respect to a snappy user experience. So we recommend to:
undefined
if they aren't visible. This avoids rendering them even though they wouldn't be in the visible viewport anyway. This reduces the rendering significantly in most practical scenarios as users typically don't actually see thousands of elements even though they would work in a diagram with thousands of elements.