Bug 228490 - Look at use of updateRoamingProfile
Summary: Look at use of updateRoamingProfile
Status: RESOLVED INVALID
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2008-04-23 14:49 EDT by Simon Kaegi CLA
Modified: 2008-04-23 14:56 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 Simon Kaegi CLA 2008-04-23 14:49:00 EDT
From code inspection it looks like every time we startup on the first call to getProfile we will call SimpleProfileRegistry.updateRoamingProfile. This call is fairly expensive since we will re-write out the profile. We should look at making this either a one-time thing or perhaps always altering but not persisting the properties in memory when loading the profile.
Comment 1 Simon Kaegi CLA 2008-04-23 14:56:17 EDT
INVALID. We do a changed check to prevent re-saving.