[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] improve resource loading performance
|
- From: guillaume.gouin@xxxxxxx (gouin )
- Date: Tue, 23 Sep 2008 13:38:05 +0000 (UTC)
- Newsgroups: eclipse.tools.emf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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%
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 ?
Thanks in advance,
regards.
Guillaume.