Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Performance of TreeViewer.expandAll method
Performance of TreeViewer.expandAll method [message #947866] Wed, 17 October 2012 14:24
becks m is currently offline becks m
Messages: 58
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 ?
Previous Topic:Quick simple question
Next Topic:configure CDT with external Builder ?
Goto Forum:
  


Current Time: Thu Oct 23 02:37:48 GMT 2014

Powered by FUDForum. Page generated in 0.02992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software