Bug 126709 - ImportRewriteAnalizer#useSpaceBetweenGroups uses 23% cpu time in organize imports performance test
Summary: ImportRewriteAnalizer#useSpaceBetweenGroups uses 23% cpu time in organize imp...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M5   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 06:15 EST by Benno Baumgartner CLA
Modified: 2006-02-14 04:20 EST (History)
1 user (show)

See Also:


Attachments
Proposed fix (2.46 KB, patch)
2006-02-07 06:16 EST, Benno Baumgartner CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benno Baumgartner CLA 2006-02-07 06:15:04 EST
Version: 3.2.0
Build id: I20060131-1200

Instead of creating a cu, format it and count the number of blank lines one can just read out the current value of the option. This is a lot faster and nicer. I will attach a patch.
Comment 1 Benno Baumgartner CLA 2006-02-07 06:16:19 EST
Created attachment 34262 [details]
Proposed fix
Comment 2 Martin Aeschlimann CLA 2006-02-12 13:25:28 EST
patch released > 20060212
Comment 3 Benno Baumgartner CLA 2006-02-14 04:20:51 EST
Verified for 3.2 M5 using build I20060214-0010