Performance upgrade #19

Merged
mih merged 1 commit from performance into main 2025-08-19 08:44:11 +00:00
Owner

See https://github.com/psychoinformatics-de/shacl-vue/pull/120 and the messages in the PR's individual commits for details:

Main performance improvements resulting from:

1. Using vue-virtual-scroller on main shaclVue component, for listing records; also use debounce to limit the amount of times the listing function is called
2. Reimplementing InstancesSelectEditor:
    - Using vue-virtual-scroller for the list in the dropdown
    - Fetch a selected value's record upfront
    - Only fetch all records in the list once the user selects the dropdown
    - change listing function to a normal function that updates a ref, not a computed property, in order to prevent unnecessary reactive calls to a computation heavy process
3. Parallelizing the asynchronous calls that are part of getAllRecordsFromService, using allSettled
4. Moving from rdf-ext to n3, and updating the shacl-tulip dependent version because of this

Closes:

See https://github.com/psychoinformatics-de/shacl-vue/pull/120 and the messages in the PR's individual commits for details: > Main performance improvements resulting from: > > 1. Using vue-virtual-scroller on main shaclVue component, for listing records; also use debounce to limit the amount of times the listing function is called > 2. Reimplementing InstancesSelectEditor: > - Using vue-virtual-scroller for the list in the dropdown > - Fetch a selected value's record upfront > - Only fetch all records in the list once the user selects the dropdown > - change listing function to a normal function that updates a ref, not a computed property, in order to prevent unnecessary reactive calls to a computation heavy process > 3. Parallelizing the asynchronous calls that are part of getAllRecordsFromService, using allSettled > 4. Moving from rdf-ext to n3, and updating the shacl-tulip dependent version because of this > Closes: - https://hub.psychoinformatics.de/inm7/annotate.inm7.de-users/issues/6 - https://hub.psychoinformatics.de/inm7/annotate.inm7.de-users/issues/10
mih merged commit 2b4f9c71b6 into main 2025-05-21 19:03:34 +00:00
mih deleted branch performance 2025-05-21 19:03:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inm7/annotate.inm7.de-users!19
No description provided.