Open bfjia opened 1 year ago
Here is a profile in Chrome. The section I have selected is a call to r._doPlot
, which is a plotly function. I estimate rendering these barplots consumes about 2s of 8s page load:
The red dashes at the top of the profile are flagged performance bottlenecks.
The next three sections are calls to updateTree
(rendering the three diferent interactive trees). Each tree requires about 600 - 800 ms to render.
We should not be rendering time-scaled and "diversity" trees as separate objects - that should eliminate a substantial portion of load time. Implementing tree zoom to replace the Omicron and XBB trees should also help (#139)
We need a custom implementation for the interactive barplots. Based on a profile of the page that Art did, Plotly is taking up significantly load time.