I have two large trees. One tree has 10733 nodes and another has 23728 nodes.
For the tree with 10733 nodes, I was able to improve the performance of the tree rendering process by using enableSmartXMLParsing(1), and enableDistributedParsing(1,557,200), meaning enable Smart XMl parsing and parse 557 nodes by one step with 200 milliseconds delay.
Without these settings the tree was taking 10 minutes to display, during which my local computer’s CPU utilization shoot up to the maximum. I have confirmed that this single line of code is responsible for this slowness: var myTree = dhtmlXTreeFromHTML(‘treeId’);
Is there a more reliable way of deriving the correct value for the second parameter of the method “enableDistributedParsing”? Any hints/helps are very appreciated.