ts4nfdi / terminology-service-suite

The Terminology Service Suite project is a collection of interactive widgets designed to ease the integration of terminology service functions into third-party applications.
https://ts4nfdi.github.io/terminology-service-suite/comp/latest/
MIT License
16 stars 2 forks source link

Browser performance issue in HierarchyWidget #148

Open Pooya-Oladazimi opened 2 weeks ago

Pooya-Oladazimi commented 2 weeks ago

Every time I open the HierarchyWidget, my Browser starts to lag, and the response is slow. It looks like something is stuck in the loop or some API call got stuck.

Does it happen to you also? @jusa3 @VincentKneip

Browser: Firefox v131.0.2 OS: Ubuntu 22.04

I noticed this in the console: Screenshot from 2024-10-11 15-27-37

rombaum commented 1 week ago

Vincent and I spotted a loop in this terminology. In the past the hierarchy was not loading. He interrupted the loop before the first cycle but he added this information to the log. But he could also give you more details. ;)

VincentKneip commented 1 week ago

The lag could have multiple reasons:

jusa3 commented 1 week ago

On my machine, the response of the SagePubHierarchy story and other hierarchy stories is a little slower than other widgets, but not that slow.