|
Treeview performance comparison
Saturday, 30 April 2011
Flexible TreeView is the fastest control on the market - in some cases, 150 times faster than other controls. Working with Flexible TreeView, your users will be able to accomplish their tasks as quickly as possible. In order to understand the Flexible TreeView advantage, please refer to the performance speed table of Flexible TreeView and tree-like controls offered by other vendors. Used pseudo code for bound mode: tree.ClearAllNodes(); object dataSource = GenerateDataSourceItems(itemsCount); StartTimer(); tree.BeginUpdate(); tree.DataSource = dataSource; tree.EndUpdate(); StopTimer();
tree.ClearAllNodes(); StartTimer(); tree.BeginUpdate(); for(int i=0; i<nodesCount; i++) { Node node = new Node("Node"+i); Tree.Nodes.Add(node); } tree.EndUpdate(); StopTimer();
The table below shows how quick treeviews can add the specified amount of nodes.
* The table shows average performance calculated for many iterations.
|
|