Bug 324340 - [performance] Performance improvements in ProfileWriter
Summary: [performance] Performance improvements in ProfileWriter
Status: RESOLVED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: performance
Depends on:
Blocks:
 
Reported: 2010-09-02 14:37 EDT by DJ Houghton CLA
Modified: 2019-09-04 01:51 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 DJ Houghton CLA 2010-09-02 14:37:36 EDT
I was looking at the code in ProfileWriter and noticed a couple of things:

1). We sort the list of IUs before we write them out. Yes, this makes the profile text file easier to read and compare in an editor, but is it worth the performance hit? (especially if you have an install with 10,000's of IUs)

2). We iterate over the list of IUs and write them out and then we re-iterate over the list of IUs and write out the properties. We should investigate to see if this can be avoided. Perhaps overwrite the #writeInstallableUnits method and do something there.
Comment 1 Eclipse Genie CLA 2018-11-04 15:03:49 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-09-04 01:51:22 EDT
This bug was marked as stalebug a while ago. Marking as worksforme.

If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.