Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311752

Summary: Scrolling StyledText is very slow / causes 100% cpu utilization
Product: [Eclipse Project] Platform Reporter: Johannes Rieken <johannes_rieken>
Component: SWTAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: Silenio_Quarti, skovatch
Version: 4.0   
Target Milestone: 3.6   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Scrolling in the Java editor (around 200 loc) none

Description Johannes Rieken CLA 2010-05-05 11:09:19 EDT
Build Identifier: 3.6M6

SL 10.6.3, 64bit, cocoa-swt

After a short while of coding (around 4hrs) I see a massive drop of performance. Restarting eclipse helps. I see this quite often but have no clue how to debug/trace this. I'm attaching a screen recording showing what I mean. I'd be happy to trace this down further using your instructions,  Yourkit (what should I be loooking at), or a custom plugin export. 



Reproducible: Always
Comment 1 Johannes Rieken CLA 2010-05-05 11:11:51 EDT
Created attachment 167156 [details]
Scrolling in the Java editor (around 200 loc)
Comment 2 Silenio Quarti CLA 2010-05-05 11:43:02 EDT
Please could you try a recent build (I20100504-0800). We have a fixed a performance problem while scrolling on that build.
Comment 3 Johannes Rieken CLA 2010-05-06 04:16:34 EDT
Alright. I have adopted I20100504-0800. From a first try, it feels a lot snappier. I keep you updated...
Comment 4 Scott Kovatch CLA 2010-06-07 14:01:58 EDT
Scrolling speed issues were addressed 3.6rc1, so I'm resolving it as fixed. If you have a different example that's slow please file a new bug. Thanks!