question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nested reflow tracing markers don't work

See original GitHub issue

I encountered a profile today which had a long reflow without a corresponding blue box in the timeline.

It turns out we can have nested reflow flushes: PresShell::DoFlushPendingNotifications -> PresShell::ProcessReflowCommands -> PresShell::DidDoReflow -> PresShell::HandlePostedReflowCallbacks -> PresShell::DoFlushPendingNotifications -> PresShell::ProcessReflowCommands

Then the markers are in the order start, start, end, end, and when we convert them to TracingMarkers we don’t resolve nested markers of the same type correctly.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
julienwcommented, Mar 13, 2018

Thanks panos, this is useful to see that the bug happens more often than we think. This should be one half day, we should try to fix this soon.

0reactions
mstangecommented, Mar 15, 2018

@mstange is there any way to fix this in perf.html? How do we know which is the start and end marker that are correctly associated?

Oops, I never answered this question.

For now, I think we should assume that multiple markers of the same name are properly nested, and not half-overlapping. In the future we should add IDs so that we can match them up precisely instead of relying on brittle assumptions like this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested Markers in R Leaflet - Stack Overflow
I would like to display a Leaflet map showing markers which correspond to the data's top level (i.e. survey sites). When you click...
Read more >
Fixed issues in InDesign - Adobe Support
We heard you! We've been working hard at fixing the issues you reported to us. Here's the list of issues we fixed in...
Read more >
Issues with list items · Issue #708 · dompdf/dompdf - GitHub
List markers are not run through the logic for vertical alignment, which is responsible for the text not being rendered exactly in the ......
Read more >
Neutrophils Obstructing Brain Capillaries Are a Major Cause ...
The no-reflow phenomenon has not only been described in stroke, ... (C) Tracing of capillaries within the 3D vascular network after ...
Read more >
NESTED SEQUENCE with MARKERS in Adobe Premiere Pro
Check out the my Premiere Pro extension that significantly speeds up editing talking head videos and screen recordings!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found