Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF Compare] match model on huge model(How can we extend the matcher on a scoped-model ?)
[EMF Compare] match model on huge model [message #517646] Mon, 01 March 2010 15:36 Go to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Hi,

We use EMF compare on huge models (more than 100.000 objects) and we have performance issue. We have a kind of "view" of this model, which is the list of objects (actually children of the EMF tree) which are involved in modifications. As we do not want to launch the matcher on the whole model, we would like to focus the match only on the content of this view, which means only on the subset of tree nodes which has been modified.
Is there any way to overwrite a method of the matcher in order to let him parse the model with a treeiterator which only contains a subset of the original model ?

Another solution would be to extract or copy the "view" (this subset of involved-objects) into a temporary resource just for the compare. But we cannot, because, this huge model is under CDO and we want to re-use the EMF compare merge for merging modifications within the huge model, then we need to keep the same resource.

Thank you,

Sabri.
Re: [EMF Compare] match model on huge model [message #517816 is a reply to message #517646] Tue, 02 March 2010 09:20 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010601090406020004040502
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Sabri,

The performance of EMF Compare doesn't scale well with huge models to
compare, yet there are other ways to call for a comparison than
comparing the whole resource set. We haven't implemented any method to
call for a comparison of TreeIterators : the closest we have is
MatchService.doContentMatch() that will compare two EObjects and their
direct content. Would that do the trick for you?

Laurent Goubet
Obeo

Sabri Skhiri wrote:
> Hi,
>
> We use EMF compare on huge models (more than 100.000 objects) and we
> have performance issue. We have a kind of "view" of this model, which is
> the list of objects (actually children of the EMF tree) which are
> involved in modifications. As we do not want to launch the matcher on
> the whole model, we would like to focus the match only on the content of
> this view, which means only on the subset of tree nodes which has been
> modified.
> Is there any way to overwrite a method of the matcher in order to let
> him parse the model with a treeiterator which only contains a subset of
> the original model ?
> Another solution would be to extract or copy the "view" (this subset of
> involved-objects) into a temporary resource just for the compare. But we
> cannot, because, this huge model is under CDO and we want to re-use the
> EMF compare merge for merging modifications within the huge model, then
> we need to keep the same resource.
>
> Thank you,
>
> Sabri.


--------------010601090406020004040502
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"

YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------010601090406020004040502--
Re: [EMF Compare] match model on huge model [message #518465 is a reply to message #517816] Thu, 04 March 2010 08:34 Go to previous message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
I will try.
thank you !

Sabri.
Previous Topic:source code of org.eclipse.net4j.util
Next Topic:[CDO Teneo Hibernate Store] Unable to instantiate default tuplizer
Goto Forum:
  


Current Time: Thu Apr 25 05:11:54 GMT 2024

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

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

Back to the top