Skip to content
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.

Very Slow loading large amounts of resources #113

Open
RobMoloney opened this issue Dec 1, 2020 · 0 comments
Open

Very Slow loading large amounts of resources #113

RobMoloney opened this issue Dec 1, 2020 · 0 comments

Comments

@RobMoloney
Copy link

I am working on a project that generates ~2500 resources, each file has a number of references. I have noticed that emfjson is very slow to load ~30mins, compared to the default XMLResource. Would it be possible to add something like OPTION_DEFER_IDREF_RESOLUTION described below.

https://www.eclipse.org/modeling/emf/docs/performance/EMFPerformanceTips.html
OPTION_DEFER_IDREF_RESOLUTION

Option value: Boolean.

This option can be enabled to defer resolving references within a resource until the whole document has been parsed. The default strategy is to try to resolve each reference as it is encountered and then, at the end, resolve any ones that failed. This wastes time looking up forward references that do not exist yet, which, if you're using intrinsic IDs, can involve iterating over every object in the resource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant