Guillaume,
Comments below.
gouin wrote:
Hi,
I need to improve the loading performance for a resource.
For the sample I use an XML-serialised resource which is a 470KB file.
With the loadOption XMLResource.OPTION_DEFER_IDREF_RESOLUTION I gained
~35%
Another approach would be to use
ResourceImpl.setIntrinsicIDToEObjectMap if you have intrinsic IDs.
That's fine but not enough, indeed it takes 2.5s to load the resource
from the file. whereas with a simple xpp parser it takes ~260ms, indeed
it does not create all the emf references.
I just need to obtain the resource for consumption (read-only), not for
authoring (read/write).
What can I do ?
You've looked at this?
EMF
Performance Tips
Thanks in advance,
regards.
Guillaume.
|