-
Notifications
You must be signed in to change notification settings - Fork 51
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
Warn if a task takes a long time to poll #345
Conversation
twiggy diff reportDifference in .wasm size before and after this pull request.
|
One freeze probably comes from here: Lines 1172 to 1220 in b7bf5b9
|
When in the browser, this prints a lot of warnings about tasks taking exactly 16ms to poll, even very light tasks such as |
When printing the values returned by |
|
Verifying a finality proof should also be split into stages. |
I'm going to merge this PR, but not mention that an issue should be opened. |
This should help detect small freezes.
Before merging this PR, the freezes should actually be fixed, so as to not start printing warnings to the users.