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

YAML loading performance #534

Open
huberrob opened this issue Sep 26, 2024 · 2 comments
Open

YAML loading performance #534

huberrob opened this issue Sep 26, 2024 · 2 comments

Comments

@huberrob
Copy link
Contributor

@afuetterer now that we switched to YAML, this seems to significatly slow down server init (takes several minutes to load) I think we should switch back to JSON

@afuetterer
Copy link
Contributor

I don't understand. Which part on what machine takes several minutes?

@huberrob
Copy link
Contributor Author

The main problem is loading/parsing of yaml from data/linked_vocabs takes much longer for YAML files during F-UJI init.
These files are needed to set up the namespace index in class LinkedVocabHelper . In a future version this probably should be replaced by a lookup method based on e.g sqlite

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

No branches or pull requests

2 participants