Slow canvas UI (with multiple elements)

Thank you @Pedro_Varela for your infos! I agree, the Mac GH canvas still has to be improved significantly.

I already provided a lot of example and bottlenecks that could be improved upon.

I.

I recently discovered another bottleneck. When using Karamba components, it seems that a lot of them are being rendering even though they are not being displayed. This issue persists on Windows as well as macOS.

In the following file, I duplicated a small script 4 times, just to make problem more easily visible. The zoom into an EMPTY area of the canvas. With half the MBP16" (Intel) screen filled I get 15fps instead of the expected 60fps. This is clearly an issue, that should be fixable.
This bug prohibits users from creating larger Karamba scripts, as they become incredibly slow!
Please take a look at this @curtisw, @dan. (Karamba Trial version can be installed via the package anager in RH7)

02_ShellCrossSectionOptimization.gh (226.6 KB)

II.

Why is an empty GH-file still only rendered at 30fps in full screen? There are clearly some optimizations that could be done there.

III.

Even on Windows GH2 (yes, it is still in WIP, but still) UI performance seems to have gotten even worse:

If Mac GH1 is already barely usable and GH2 will get worse, then this is a huge issue.

Pleeeease have a look at the bottlenocks, it means a lot to a lot of users. Afterall UI fps is what is limiting all UI interaction, not only panning.

Cheers, Rudi

1 Like