-
Notifications
You must be signed in to change notification settings - Fork 339
Performance page slow to load on Linux #6708
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
Comments
@jakemac53 this might be a good one to tackle next while you are looking at performance. |
It looks to me like this is resolved now - I did notice however that if the app is paused, we will hang forever on this page (with a working spinner). Most of the time seems to be spent inside of base64.decode today and we can't really fix that, but it is already being split up into a lot of small chunks of work. |
Here is what I see using the same example app today: Screen.Recording.2025-02-14.at.12.14.17.PM.mov |
@bkonyi is it expected that the VM service calls for the performance page (getPerfettoVmTimeline, listening to events on the Extension stream, etc.) would hang for a paused app? |
#9162 fixes the hang issue @jakemac53 described here. @aam do you have a reliable repro for the slow load? I followed your repro steps above but opening the performance page loads quickly for me. I am on a Mac. From your SDK path it looks like you may be using Linux? foo.dart
xcodebuild/ReleaseARM64/dart --observe:8080 --disable-service-auth-codes --timeline_streams=all --timeline-recorder=endless --serve-observatory foo.dart Open the printed DevTools URL --> navigate to the performance page --> page loads quickly. |
Yes, simple |
@aam What machine do you have? I'm wondering if this is due to OS or architecture differences. AFAIK @jakemac53, @bkonyi, and I are all using MacOS and none of us can reproduce. |
it's a glinux. |
Dev tools peformance tab takes over 10 seconds to load, compared to just 2 seconds for observatory
launch-performance-tab-devtools.webm
observatory-timeline-launch.webm
This is on a simple dart app:
launched like
Devtools app launched separately, connected to this dart app paused.
The text was updated successfully, but these errors were encountered: