-
In one of our projects (still on langium 1.2) we have large file outputs with CompositeGeneratorNode. It seems that |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
cc @sailingKieler Are you aware of any performance issues in that area? On another note: @goto40 Do you have a repro example for this? It would be great to get some tracing on badly behaving parts of the framework to identify bottlenecks that can be fixed. |
Beta Was this translation helpful? Give feedback.
-
Demo:
When playing with the code on my machine (now with langium 2.1.2)
For me, it seems that some O(N^2) is hidden somewhere... |
Beta Was this translation helpful? Give feedback.
-
Independently of my findings: The number of indentNodes is equal to
Does your actual code generator have this complexity? |
Beta Was this translation helpful? Give feedback.
I will have a deeper look this weekend. Thank you for the work!