Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Compare » EMF Compare EGIT Performance
EMF Compare EGIT Performance [message #1770222] Wed, 09 August 2017 07:54 Go to next message
Markus Krekeler is currently offline Markus KrekelerFriend
Messages: 1
Registered: August 2017
Junior Member
I trying to use EMF Compare with an Git Based Repository (EGit Plugin). Everytime when im compare my model with the Remote Repository Eclipse freezes. My model ist about 4 MB

I analyze the Problem and i find out that the intrinsicIDMap ist always emty.
(Iam using a custom ResourceImpl)

So the whole model File is iterated for each Object id, maybe the source of the Problem is based on the class SynchronizedResourceSet, where is mentioned that you dont use the feature

XMLResource.OPTION_USE_XML_NAME_TO_FEATURE_MAP

https://bugs.eclipse.org/bugs/show_bug.cgi?id=403425
https://www.eclipse.org/forums/index.php/t/929918

Could you give me a hint for solving the problem
Re: EMF Compare EGIT Performance [message #1770426 is a reply to message #1770222] Fri, 11 August 2017 08:43 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
Hi Markus,

Are you using the latest EMF Compare build (3.3.1, can be installed from http://download.eclipse.org/modeling/emf/compare/updates/releases/3.3/R201706130827)? Which version of EGit are you using?

Other than that... EMF Compare never explicitely sets the intrinsicIDToObjectMap. Why do you expect it to be set in your case? It sounds like it could be a very nice performance improvement for EMF Compare to set that map when it starts to resolve the logical model (and unset it once loading is done). Would you have any means to share a sample model that presents this particularity so that we can get a feel of the numbers?

Laurent Goubet
Obeo
Previous Topic:code snippet for loading comparing models from GIT
Next Topic:Merge issue "because its parent hasn't been merged yet"
Goto Forum:
  


Current Time: Tue Nov 12 03:23:38 GMT 2024

Powered by FUDForum. Page generated in 0.04044 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top