Improving performance of DockSiteLayoutSerializer

Docking/MDI for WPF Forum

Posted 9 years ago by Craig - Varigence, Inc.
Version: 9.2.0510
Avatar
I've been examining the startup performance of an app that uses the DockSiteLayoutSerializer, and the LoadFromString function is showing up as a hot spot. We call the function in our Window_Loaded event handler so all ToolWindows are layed out properly, prior to the window being rendered.

I'm just wondering if LoadFromString is known to be slow, and if there's anything I can do to improve its performance.

Thanks,

-Craig

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

The layout serializer code uses XML serializers, so for first time it loads it could have a brief delay while the Microsoft code for XML serializers creates the classes needed to initialize the functionality. However after that first time, it should run fast.


Actipro Software Support

The latest build of this product (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.