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 10:24
becks m is currently offline becks m
Messages: 58
Registered: June 2012

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();
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: Fri Aug 29 16:38:14 EDT 2014

Powered by FUDForum. Page generated in 0.01633 seconds