Track how long it takes to load all initial resources#205
Merged
Conversation
3de3a54 to
6a792e3
Compare
huntie
reviewed
Sep 11, 2025
6a792e3 to
7d4c777
Compare
vzaidman
commented
Sep 16, 2025
| parsedURL, Host.UserMetrics.DeveloperResourceLoaded.FALLBACK_AFTER_FAILURE, result); | ||
|
|
||
| if (!this.#rndtStartupResourcesLoadedReported) { | ||
| // if no new resources were scheduled for loading for |
Author
There was a problem hiding this comment.
@huntie how do you find this comment, does it explain how this startup metric is calculated?
7d4c777 to
c464a88
Compare
c464a88 to
d3aad37
Compare
huntie
approved these changes
Sep 17, 2025
Member
huntie
left a comment
There was a problem hiding this comment.
Looks great, approving with small nits!
d3aad37 to
07f9159
Compare
huntie
approved these changes
Sep 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Track how long it takes to load all startup resources (bundle files, source maps, source files).
We consider all startup resources as loaded when the resources loading queue is empty, and no new resources were added to the queue for 3 whole seconds.
Test plan
See D82124701
Upstreaming plan
devtools-frontendrepo following the contribution guide for Meta employees OR contribution guide.