Bug 376174 - [performance] Minimise disk access when generating review items
Summary: [performance] Minimise disk access when generating review items
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 0.10   Edit
Assignee: Alvaro Sanchez-Leon CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2012-04-05 08:58 EDT by Alvaro Sanchez-Leon CLA
Modified: 2012-04-25 21:44 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Sanchez-Leon CLA 2012-04-05 08:58:35 EDT
Creating review items can cause a long waiting time when the storage location is over a slow network, 
currently the changes are done as they occur even if more changes are being processed for the same fragment, this approach shall be studied so disk access is minimised and the waiting time can be reduced.
Comment 1 Alvaro Sanchez-Leon CLA 2012-04-25 21:44:09 EDT
This has been solved by introducing a new api to indicate the stop of serialization for both updates and creation of new model element children associated to a given EMF Resource, 
this api will be used within the creation of review items from the find review items handler in the ui, so this functionality does not affect any other action besides the find review items, keeping the changes in the UI minimal and allowing us to have the same mechanism for models and source code.

This solution is now available and reduces the serialization time to a fraction of the initial benchmark, by serializing the review items in two steps.