Kitware / UPennContrast

UPenn ?
https://upenn-contrast.netlify.com/
Apache License 2.0
8 stars 6 forks source link

getAnnotationsByDatasetId is slow regardless of the number of annotations #672

Closed zjniu closed 4 months ago

zjniu commented 4 months ago

Running the following line of code annotationList = annotationClient.getAnnotationsByDatasetId(datasetId) is very slow. Regardless of the number of total annotations, it takes around 20 seconds to grab the list of annotations. Even if the dataset has no annotations, it takes around the same amount of time to grab the list.

arjunrajlab commented 4 months ago

I will also say that I have noticed this slowdown and it is very recent, like, within the last week or two at most.

arjunrajlab commented 4 months ago

Resolved by https://github.com/Kitware/UPennContrast/pull/677