Support #5473
openperformance issues with nested wcontainerwidgets and calling removeWidget for all inner widgets
0%
Description
Hello,
we have a performance problem with the Layouters of wt 3.3.5. We have one WContainerWidget (let's name it WCWOUTER) and insert some entries. Each entry is a WContainerWidget again, with an layouter (in most cases gridlayout).
The Problem is, if we want to clear the list and call removeWidget(pInnerWidgetX) of WCWOUTER for all inner WContainerWidgets, then for each cell there exists a style class "Wt-tv-cX" which was added to
before. We inspected the websocket-connection and detected a frame with an length of over half a million characters and around 13.500 JavaScript statements removing these style-classes (for example by calling Wt3_3_5.removeCssRule('#oaijcoy .Wt-tv-c12');).
It took around 30 seconds in order to clear the content and add new content. Are there any workarounds or patches available in oder to speed this up?
We use Wt 3.3.5. We did not test with Wt 3.3.6 or Wt 3.3.7. Not so easy to change to newer Wt-version fur us at the moment.
Kind Regards,
Georg
No data to display