|
|
|
|
|
|
|
Re: GMF load diagram file performance problem - eResolveProxy [message #221884 is a reply to message #221871] |
Thu, 19 March 2009 10:46 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
If they are both in the same file, all references will be IDREF (intra
resource) instead of anyURI (cross resource) so all resolution will
happen immediately during loading or at the end of loading (depending on
the defer option). I imagine this would be a bit faster...
gad wrote:
> Hello Ed,
>
> Once more, thanks for your help. Though in the end it's a simple
> instruction it took me some time to find out how to use this
> setIntrinsicIDToEObjectMap method but eventually it worked (thanks to
> your previous answer and also to an old post you wrote!
> http://dev.eclipse.org/newslists/news.eclipse.tools.emf/msg1 9147.html).
> Now the loading is more than two times faster than before.
>
> And after that I came across another option
> (OPTION_DEFER_IDREF_RESOLUTION, that again you seem to know about, are
> you everywhere? :p
> http://www.eclipsezone.com/eclipse/forums/t79980.html) that improved
> loading even more.
>
> Though not perfect performance is way, way better now. I went from 1
> minute to 15 seconds on my test file.
>
> Though it would probably not be a good solution in my case, I'm
> curious about domain model and notation model in the same file: would
> loading be even faster with this setup?
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05733 seconds