code-kern-ai / refinery

The data scientist's open-source choice to scale, assess and maintain natural language data. Treat training data like a software artifact.
https://www.kern.ai
Apache License 2.0
1.39k stars 66 forks source link

[ENH] - Optimize some database requests #273

Open JWittmeyer opened 11 months ago

JWittmeyer commented 11 months ago

Noticed on managed app that the data browser can take some time to load. For the data browser this is likely related to the user collection query.

Same goes for the project overview depending on the record / weak supervision amount this can take quite long (1.3 min with ~10 projects with ~30k records and weak supervision etc.