[EMF Compare] match model on huge model [message #517646] |
Mon, 01 March 2010 10:36  |
Eclipse User |
|
|
|
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 04:20   |
Eclipse User |
|
|
|
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--
|
|
|
|
Powered by
FUDForum. Page generated in 0.29647 seconds