You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mstange opened this issue
Aug 29, 2024
· 1 comment
Labels
bugVery important to fix, typically this means that the tool is broken or lyingmarkersAnything to do with marker data structures, marker chart, or the marker table
This profile has 5 Navigation:Start markers. The third marker is the one that indicates the actual navigation start of the page. I'm not sure what the other 4 are for.
In the network track, there is no vertical line for that third marker. Why not?
The first two Navigation:Start markers definitely have vertical lines. But those lines are not useful because I think they're for subframes.
The third Navigation:Start marker is the only one which has a "Page" row in the tooltip.
Would it make sense to only draw these vertical lines if we have the "Page" information?
The text was updated successfully, but these errors were encountered:
I'm not sure why these other Navigation::Start have no payload at all. I would think this is a bug, that they should have a payload and a Page as well, but I'm not sure.
I totally agree that this is confusing. I'd go one step further than you, I think that we should only display those that are for the top level frame (we have this information as soon as we have the Page information).
IMO the same issue happens for all other lines too, especially the Load.
exportfunctionisNavigationMarker({ name, data }: Marker){
if(name==='TTI'){
// TTI is only selectable by name, as it doesn't have a structured payload.
returntrue;
}
if(
name==='FirstContentfulPaint'||
name==='FirstContentfulComposite'||
name==='LargestContentfulPaint'
){
// Add the performance metric markers.
returntrue;
}
if(!data){
// This marker has no payload, only consider the name.
if(name==='Navigation::Start'){
returntrue;
}
returnfalse;
}
if(data.category==='Navigation'){
// Filter by payloads.
if(name==='Load'||name==='DOMContentLoaded'){
returntrue;
}
}
returnfalse;
}
You can see that there's a special case for Navigation::Start without a payload. The third one has a payload but doesn't have a property "category", and it wouldn't be selected anyway.
I think this simply hasn't been updated when the Page information was added in https://bugzilla.mozilla.org/show_bug.cgi?id=1701524.
Longer term we could add a value timeline-network to this enum:
julienw
added
bug
Very important to fix, typically this means that the tool is broken or lying
markers
Anything to do with marker data structures, marker chart, or the marker table
labels
Aug 30, 2024
bugVery important to fix, typically this means that the tool is broken or lyingmarkersAnything to do with marker data structures, marker chart, or the marker table
Profile: https://share.firefox.dev/3XoGIs0
This profile has 5
Navigation:Start
markers. The third marker is the one that indicates the actual navigation start of the page. I'm not sure what the other 4 are for.In the network track, there is no vertical line for that third marker. Why not?
The first two
Navigation:Start
markers definitely have vertical lines. But those lines are not useful because I think they're for subframes.The third
Navigation:Start
marker is the only one which has a "Page" row in the tooltip.Would it make sense to only draw these vertical lines if we have the "Page" information?
The text was updated successfully, but these errors were encountered: