-
Couldn't load subscription status.
- Fork 49.7k
[Flight] Emit timestamps only in forwards advancing time in debug info #33482
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
ff0ab91
Update time as we emit awaits so that we never go backwards in time
sebmarkbage bf1c30d
Only emit timing chunks that advance time
sebmarkbage e6356f6
Don't assume time entries are always before and after every entry
sebmarkbage 4212552
Update tests
sebmarkbage 0f8e294
Ensure track time only increases in case the child didn't take up any…
sebmarkbage eeb7b10
Use the inner unfiltered Promise's stack as the best stack describing…
sebmarkbage 3b3f5c3
Mark await end time when they begin
sebmarkbage e26fa0d
Add overlapping IO to `Bar` component in Flight fixture
unstubbable 4e8a250
Track the begin time instead of assuming this is the same as start time
sebmarkbage 35719f2
Explicitly track end time
sebmarkbage 0090784
Track async function's last await
sebmarkbage b7696ad
Cut off awaits that happened before a sequence but not before last em…
sebmarkbage ac3a913
Slight perf optimization
sebmarkbage 2d22526
Typo
sebmarkbage File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the bug where there could end up being overlapping components when they should've been bumped to a parallel track.
(I do think this type of view is not good for this since any async micro-task can cause them to start overlapping and spawn too many parallel tracks. I have another view in mind for the future)