Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338599 - [perf] Serialization optimizations for LocalMetadataRepository
Summary: [perf] Serialization optimizations for LocalMetadataRepository
Status: RESOLVED FIXED
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: 3.7 M6   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 338600
  Show dependency tree
 
Reported: 2011-03-01 17:38 EST by DJ Houghton CLA
Modified: 2011-03-02 09:41 EST (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 2011-03-01 17:38:30 EST
When looking at the serialization code for LocalMetadataRepository, it appears that whenever we add a site reference, we mark the repo as dirty and re-write the repository. 

In a lot of cases, the references will be the same across multiple features and as the number of features grow, the problem becomes more apparent. This was noticed in a scenario in which the reconciler was being used to install roughly 2000 features. 

We should check to make sure that we really did add a new reference before writing out the repository.
Comment 1 DJ Houghton CLA 2011-03-02 09:41:50 EST
Released to HEAD.