Bug 110505 - [navigation] Performance slow while CTRL pressed in Editor
Summary: [navigation] Performance slow while CTRL pressed in Editor
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2005-09-23 20:07 EDT by Benjamin Pasero CLA
Modified: 2007-03-28 08:27 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 Benjamin Pasero CLA 2005-09-23 20:07:01 EDT
Comparing 3.2 M1 with M2 I am getting a notable performance problem when
hovering over Sourcecode while pressing the CTRL key. It takes very long until
the hovered element is showing as blue link and it also takes some time until
the cursor that shows as a hand is restoring to the normal arrow, after hovering
out of a clickable element in the source.

Could this been introduced by the new support for linking, which works, even
when the editor is not having focus?

Ben
Comment 1 Tom Hofmann CLA 2005-09-26 04:50:56 EDT
I don't see any perceivable performance decrease comparing 3.1.1 and 3.2 M2. Do
you see this on a specific workspace or generally. Do you have a sample project
that shows this behavior?
Comment 2 Benjamin Pasero CLA 2005-09-26 05:12:43 EDT
I checked it out with a clean workspace importing a single project. What I found
out is that in small classes I can not reproduce the performance problem, but
files with some hundered lines show the problem.

It is easy to reproduce for me when pressing CTRL while hovering over some
method-invocations rapidly. I can see that the underline-feedback, showing that
the method is clickable, is not updated in the same speed I am hovering over the
names.

Ben
Comment 3 Benjamin Pasero CLA 2005-09-26 05:15:30 EDT
Hm, my example with hovering over method names was not a good one. It looks
quite the same on Eclipse 3.2 M1, but it feels sluggish, especially the opening
Hover and the Cursor feedback.

Ben
Comment 4 Tom Hofmann CLA 2005-09-26 05:23:05 EDT
I do see the sluggishness sometimes, but no regression to M1, then.
Comment 5 Dani Megert CLA 2007-03-28 08:27:11 EDT
Works for me using 3.3 M6. Please reopen if you have a good test case.