| Performance of TreeViewer.expandAll method [message #947866] |
Wed, 17 October 2012 10:24 |
becks m Messages: 54 Registered: June 2012 |
Member |
|
|
Hi,
In my application, an action is to expand all elements of a certain tree.
each time I execute this action, it takes longer time than before.
long startTime = System.currentTimeMillis();
getTreeViewer().expandAll();
long endTime = System.currentTimeMillis()-startTime;
System.out.println("expandAll time : " + endTime );
and this is a sample from the output.
expandAll time : 200
expandAll time : 800
expandAll time : 1800
expandAll time : 3200
-- This slowdown my plugin so much. Is this an issue with the method ?
|
|
|
Powered by
FUDForum. Page generated in 0.01416 seconds