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 for link generation #189

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

recalcitrantsupplant
Copy link
Collaborator

Improves the performance of link generation by using pyoxigraph for profiles queries instead of rdflib.

Copy link
Collaborator

@jamiefeiss jamiefeiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tested locally and it feels much faster now, thanks @recalcitrantsupplant

@edmondchuc
Copy link
Collaborator

For context, as discussed in this issue #178, this is an interim solution to speed up Prez endpoints that use the link generation function. The full solution will rely on the new RDFrame backend processing where we will be able to filter out certain link generations for certain endpoints.

@jamiefeiss, if you have tested it and there's an improvement, then great! Let's merge it in.

@edmondchuc edmondchuc merged commit d685500 into main Jan 15, 2024
2 checks passed
@edmondchuc edmondchuc deleted the david/improve-performance-link-generation branch January 15, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants