-
Notifications
You must be signed in to change notification settings - Fork 398
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
Loading of data is extremely slow in web on Chrome #963
Comments
What Jeremy has found is that the render task starves the websocket task. A potential fix is to replace |
The call to repaint from within the websocket |
An additional unfortunate finding is that the google-chrome profiler itself further exacerbates the issue. |
Would be nice to redo these measurements when #1880 lands |
Give the task that decodes incoming log messages a bit of time before calling `requestAnimationFrame`. Closes #963 Should improve web performance on Chrome and Edge
Give the task that decodes incoming log messages a bit of time before calling `requestAnimationFrame`. Closes #963 Should improve web performance on Chrome and Edge
Repro is relatively straight forward with even simple demos like car demo.
Happens on both chrome and edge browsers, but not on firefox.
Symptom is that new messages arrive at a rate of 2/sec.
You can see this happening in the profile view in chrome:
![image](https://user-images.githubusercontent.com/3312232/215136081-eb39b0f5-3cae-4826-ad4c-18299c814e80.png)
![image](https://user-images.githubusercontent.com/3312232/215136498-2148fa54-58c4-40c9-bf3d-ff5e67a42554.png)
I don't know enough about the web task worker model to understand why these get scheduled so infrequently or why the task waits for ~15 ms before starting the deserialization function.
The text was updated successfully, but these errors were encountered: