monarch-initiative / monarch-app

Monarch Initiative website and API
https://monarchinitiative.org/
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

Entities with many subclasses load super slowly #912

Open kevinschaper opened 2 days ago

kevinschaper commented 2 days ago

example: http://dev.monarchinitiative.org/PATO:0000001

I'm not sure if this is a backend problem (something about the hierarchy code is silly, like making one request per subclass entity), or if it's a rendering problem (something in the AppNodeBadge is expensive?).

If there's lots of associations, but few subclasses, everything seems fine, so it does seem to be specific to the hierarchy API request or UI components.

ptgolden commented 8 hours ago

It's a rendering issue. I'll check it out.

ptgolden commented 8 hours ago

The biggest issue is (obviously) rendering all of the subclasses.