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

Ontology edit page load time has become prohibitively slow #372

Open
jvendetti opened this issue Dec 11, 2024 · 0 comments
Open

Ontology edit page load time has become prohibitively slow #372

jvendetti opened this issue Dec 11, 2024 · 0 comments

Comments

@jvendetti
Copy link
Member

Navigating to an ontology edit page (/ontologies/:acronym/edit) currently takes around 30 seconds to load. The primary cause appears to be the rendering of two Chosen select boxes, which struggle to handle the large volume of data associated with them.

  1. ontology_administeredBy
    This select box allows users to assign administrative access to an ontology. It is currently being populated with nearly 18,000 <option> elements, one for each user in the BioPortal system. As the user base has grown significantly, this is causing performance bottlenecks.

  2. ontology_viewOf
    This select box is used to select a parent ontology when creating an ontology view. It's rendered with over 1,000 <option> elements, one for each ontology in BioPortal.

To improve performance, these select boxes should be replaced with components that support remote data loading as the user types. The preferred library for this update is Tom Select, aligning with the AgroPortal team’s technology stack.

Note: A prior attempt to address this issue with Tom Select was not fully successful. Details of that effort can be found in #312.

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

No branches or pull requests

1 participant