Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 65966 - Run > JUnit Test option slow to appear [Junit]
Summary: Run > JUnit Test option slow to appear [Junit]
Status: RESOLVED DUPLICATE of bug 63115
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: All Windows 2000
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 10:11 EDT by J. B. Rainsberger CLA
Modified: 2004-06-09 10:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J. B. Rainsberger CLA 2004-06-07 10:11:21 EDT
When I right-click an item to run as a JUnit test, the "Run" context menu takes
several seconds to appear. It used to be almost immediate. This breaks the
test/code rhythm when I need to switch test classes.
Comment 1 J. B. Rainsberger CLA 2004-06-07 10:11:46 EDT
This occurs in 3.0rc1
Comment 2 J. B. Rainsberger CLA 2004-06-07 10:14:15 EDT
This appears not to happen all the time. It /does/ happen more often when JUnit
Test is the only item in the Run context menu.
Comment 3 Frederic Fusier CLA 2004-06-07 10:25:36 EDT
Move to JDT/UI
Comment 4 Dirk Baeumer CLA 2004-06-07 10:55:54 EDT
The content of the context menu is computed when it opens to save CPU cycles 
on selection changes. So this is for sure slow the first time you open the 
menu, but should be faster when used the next time.

Darin, do you have any profile numbers regarding resolving the Run/Debug menu. 

Moving to Debug.
Comment 5 J. B. Rainsberger CLA 2004-06-07 11:02:10 EDT
When I choose Run on a resource I haven't Run before, that's when this menu is
slow. After that I can just press Ctrl+F11, so there's no need to select Run
again for the same resource, so I'll never see the performance benefit.
Comment 6 Darin Wright CLA 2004-06-09 10:56:53 EDT

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