Bug 14028 - [Viewers] Slow expanding and collapsing of variables
Summary: [Viewers] Slow expanding and collapsing of variables
Status: RESOLVED DUPLICATE of bug 14033
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 14033
Blocks:
  Show dependency tree
 
Reported: 2002-04-17 12:43 EDT by Tod Creasey CLA
Modified: 2002-12-04 13:47 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2002-04-17 12:43:41 EDT
Sometimes the expanding and collapsing variables in the variables view is very 
slow. Using the simple example below with a breakpoint set inside the while loop
I got very fast exapnsion/collapsing when:

1) The Variables view is not maximized
2) I had expanded the properties variable in the maximized view and then 
expanded the tables variable

It got considerably slower to expand and collapse the tree when
1) I maximized the variables view and then the properties variable. I expanded 
nothing else and it was noticably slower.

Here is the test class 

import java.util.Enumeration;
import java.util.Properties;

public class VariablesTest {

	public static void main(String[] args) {
		Properties properties = System.getProperties();
		Enumeration elements = properties.elements();
		while(elements.hasMoreElements()){
			String nextElement = (String) elements.nextElement();
			System.out.println(nextElement);
		}
	}
}
Comment 1 Tod Creasey CLA 2002-04-17 13:04:31 EDT
This is a general problem - you can also see it in the pacakges view and the 
outline view. Moving to Platform UI. I whipped up an SWT Example but I could 
not replicate the behavior there.
Comment 2 Tod Creasey CLA 2002-04-17 14:17:16 EDT
SWT issue. See Bug 14033
Comment 3 Nick Edgar CLA 2002-12-04 13:47:34 EST

*** This bug has been marked as a duplicate of 14033 ***