Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance and memory for validation by caching XML Schema / DTD #534

Closed
angelozerr opened this issue Jul 22, 2019 · 0 comments · Fixed by #572
Closed

Improve performance and memory for validation by caching XML Schema / DTD #534

angelozerr opened this issue Jul 22, 2019 · 0 comments · Fixed by #572
Assignees
Labels
performance This issue or enhancement is related to performance concerns validation
Milestone

Comments

@angelozerr
Copy link
Contributor

Today each time completion / validation based on XML Schema / DTD, the grammar is parsed.

We should cache those grammar to use it in completion and validation both (if it's possible) and reset the cache when file of the grammar is updated.

@angelozerr angelozerr added the performance This issue or enhancement is related to performance concerns label Jul 22, 2019
@fbricon fbricon added this to the v0.9.0 milestone Jul 22, 2019
@fbricon fbricon modified the milestones: v0.9.0, Sprint 171 Aug 20, 2019
@angelozerr angelozerr modified the milestones: Sprint 171, v0.9.0 Aug 22, 2019
@fbricon fbricon removed this from the v0.9.0 milestone Aug 30, 2019
angelozerr pushed a commit that referenced this issue Sep 4, 2019
Fixes #534


Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Sep 9, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 9, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
@angelozerr angelozerr changed the title Improve performance and memory by caching XML Schema / DTD Improve performance and memory for validation by caching XML Schema / DTD Oct 10, 2019
@angelozerr angelozerr added this to the v0.9.1 milestone Oct 10, 2019
angelozerr pushed a commit that referenced this issue Oct 10, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 10, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 10, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 10, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 14, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 14, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
fbricon pushed a commit that referenced this issue Oct 15, 2019
Fixes #534

Signed-off-by: azerr <azerr@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance This issue or enhancement is related to performance concerns validation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants