DataBiosphere / data-explorer

BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Investigate slowness with UKBB #260

Closed melissachang closed 5 years ago

melissachang commented 5 years ago

256 improves experience of most data explorers (1000 Genomes, NHS). However, it makes UKBB worse. For UKBB facets API call is slow, and it's strange that it takes a while for checkmark to appear after click.

As a quick fix, I reverted #256 in https://biobank-explorer.appspot.com/ I would like to investigate ways to fix the underlying slowness, so we can reenable #256 for UKBB.

melissachang commented 5 years ago

I removed a bunch of facets that have many facet values (eg u41202_0_0). Initial page load went from 11s to 3s. The UI is also snappier -- the problem described above is much better. This is good enough for now.