Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard can take a long time to show anything when loaded on slow machine #1784

Closed
DamianEdwards opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
area-dashboard perf Issues pertaining to Perf
Milestone

Comments

@DamianEdwards
Copy link
Member

DamianEdwards commented Jan 23, 2024

On slower machines (e.g. 11th gen Intel laptop) when launching a reasonably sized Aspire app (e.g. eShop) the dashboard can be launched in the browser by VS but then appear blank for a long period of time before finally everything appears all at once. During this time it can seem like the dashboard is unresponsive or broken and on more than one occasion I've shut it down and re-launched thinking something was going wrong.

My guess is this is due to the dashboard using interactive server rendering with pre-rendering disabled, so any delay in the initial render over the circuit (or establishment of the circuit itself) will result in a completely blank page until the initial render is complete.

We should consider adjusting how the dashboard is rendered to allow for shell elements like the header, menu, and a loading screen to be displayed very quickly to improve this experience. The various pages could then use the Skeleton component as the initial placeholder until data is ready.

@DamianEdwards
Copy link
Member Author

FYI @JamesNK

@JamesNK
Copy link
Member

JamesNK commented Mar 2, 2024

Might be this: microsoft/fluentui-blazor#1621

@joperezr
Copy link
Member

per @DamianEdwards, this is now improved so closing.

@github-actions github-actions bot locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-dashboard perf Issues pertaining to Perf
Projects
None yet
Development

No branches or pull requests

7 participants