Skip to content

Manually preserve ordering for Scheduler and Components tracks#53853

Closed
hoxyq wants to merge 1 commit into
facebook:mainfrom
hoxyq:export-D82811889
Closed

Manually preserve ordering for Scheduler and Components tracks#53853
hoxyq wants to merge 1 commit into
facebook:mainfrom
hoxyq:export-D82811889

Conversation

@hoxyq
Copy link
Copy Markdown
Contributor

@hoxyq hoxyq commented Sep 19, 2025

Summary:

Changelog: [Internal]

Chrome DevTools orders tracks based on the timestamp of the first entry.

For React on Web we emit a few entries to establish the ordering:
https://github.com/facebook/react/blob/6eda534718d09a26d58d65c0a376e05d7e2a3358/packages/react-reconciler/src/ReactFiberPerformanceTrack.js#L57-L96

We are doing the same thing here, but in C++.

Differential Revision: D82811889

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 19, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@hoxyq has exported this pull request. If you are a Meta employee, you can view the originating diff in D82811889.

…ook#53853)

Summary:

# Changelog: [Internal]

Chrome DevTools orders tracks based on the timestamp of the first entry.

For React on Web we emit a few entries to establish the ordering:
https://github.com/facebook/react/blob/6eda534718d09a26d58d65c0a376e05d7e2a3358/packages/react-reconciler/src/ReactFiberPerformanceTrack.js#L57-L96

We are doing the same thing here, but in C++.

Differential Revision: D82811889
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@hoxyq has exported this pull request. If you are a Meta employee, you can view the originating diff in D82811889.

hoxyq added a commit to hoxyq/react-native that referenced this pull request Sep 19, 2025
…ook#53853)

Summary:

# Changelog: [Internal]

Chrome DevTools orders tracks based on the timestamp of the first entry.

For React on Web we emit a few entries to establish the ordering:
https://github.com/facebook/react/blob/6eda534718d09a26d58d65c0a376e05d7e2a3358/packages/react-reconciler/src/ReactFiberPerformanceTrack.js#L57-L96

We are doing the same thing here, but in C++.

Differential Revision: D82811889
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 1b5e8e6.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 19, 2025
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @hoxyq in 1b5e8e6

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants