@Steve-Mcl and I developed last year the node-red-contrib-ui-svg node, but seems we have a performance problem for larger drawings. I managed to solve one of the causes, but now I'm stuck with the large number of TypedInput fields that are being used:
Appears this is a known problem in Node-RED, but the core nodes workaround it (in a way that we cannot do).
When I use the profiler of my Chrome developer tools, I see lots of resizing calculations for all the TypedInput's:
Which is being triggered for every TypedInput that we add, via
Since we call the
addItem lots of times for large drawings, this will cause a lot of resizing.
Think it would be solved if the resizing was only done once at the end, but I assume that isn't possible.
But this is becoming a bit too complex for me
Is there anybody who has an idea how we can solve/workaround this?
Thanks a lot!!