Hi,
Quote:1. Has the XML deserialization speed been improved in the FlowChart.LoadFromXml in v5?
Do you display some large images in the nodes?
We've done some tests with 400 nodes and 400 links:
V4.2, without images: the file loads for a second
V5.0, without images: the file loads for a second
V4.2, with 10 images: the file loads for 12 seconds
V5.0, with 10 images: the file loads for 2 seconds
Each image from the last tests is assigned to 40 nodes. In this case the speed in version 5 is better because the bytes of shared images are encoded and saved just once; whereas version 4 saves a separate copy for each node, and subsequently decodes 400 image copies when loading.
Because version 5 uses the DOM API and version 4 uses linear serialization, the XML serialization is a bit slower in V5 when not using images, or when they are not shared between nodes.
Quote:2. Can the FlowChart.LoadFromXml read previous version's XML strings?
Yes; actually you must use the LoadFromString method to load an XML string.
Quote:3. In v5, is there a performance difference between the LoadFromXml overload which takes a document vs. the one which takes a string?
The latter calls the former after creating an XmlDocument object from the string content.
Stoyan