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

Build events tree in the background #1

Open
verdie-g opened this issue Apr 14, 2024 · 3 comments
Open

Build events tree in the background #1

verdie-g opened this issue Apr 14, 2024 · 3 comments

Comments

@verdie-g
Copy link
Owner

To avoid blocking the UI. https://github.com/Tewr/BlazorWorker could help.

@verdie-g verdie-g added the enhancement New feature or request label Apr 14, 2024
@verdie-g verdie-g changed the title Build event tree in the background Build events tree in the background Apr 14, 2024
@verdie-g
Copy link
Owner Author

Building the tree only takes a second or two in the worse cases. It appears that the issue is to render the TreeView. Let's see in microsoft/fluentui-blazor#1855 if there is some performance opportunities there.

@verdie-g
Copy link
Owner Author

In a future .NET's multi-threading will work in WASM: dotnet/runtime#68162.

@verdie-g
Copy link
Owner Author

Since b8a313b it seems like the filtering can take several seconds to execute. So, that filtering could be done in a worker for a better experience. Though, workers have a shared-nothing design, sharing data is only done through message passing. Passing the trace to a worker would mean serializing gigabytes of data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant