Skip to content
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

Use stable sort for performance entries #36998

Closed
wants to merge 2 commits into from

Conversation

rshest
Copy link
Contributor

@rshest rshest commented Apr 20, 2023

Summary:
For performance entries that have the same start/end time it makes more sense to report them back to PerformanceObserver in the same order they were logged.

This kind of determinism is arguably better both in terms of API, and from the point of view of testing.

Chagelog: [Internal]

Reviewed By: javache

Differential Revision: D45142500

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Apr 20, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45142500

@github-actions
Copy link

github-actions bot commented Apr 20, 2023

Fails
🚫

📋 Missing Changelog - Please add a Changelog to your PR description. See Changelog format

Generated by 🚫 dangerJS against 6f22934

rshest and others added 2 commits April 20, 2023 03:48
Differential Revision: https://internalfb.com/D45141978

fbshipit-source-id: 0100e1f3020a893550f3f4b67f36fa11873ac5f0
Summary:
Pull Request resolved: facebook#36998

For performance entries that have the same start/end time it makes more sense to report them back to `PerformanceObserver` in the same order they were logged.

This kind of determinism is arguably better both in terms of API, and from the point of view of testing.

## Chagelog:
[Internal] -

Reviewed By: javache

Differential Revision: D45142500

fbshipit-source-id: 7c5897ef3e9f9728c25016b7e6aa99bd23ac9bff
@rshest rshest force-pushed the export-D45142500 branch from 8826dde to 6f22934 Compare April 20, 2023 10:50
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45142500

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Apr 20, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 8e046cb.

rshest added a commit to rshest/react-native that referenced this pull request Apr 21, 2023
Summary:
Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Differential Revision: D45177697

fbshipit-source-id: e5c42d4db482a2d444d7c609aba95bc7a871823f
rshest added a commit to rshest/react-native that referenced this pull request Apr 21, 2023
Summary:
Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Differential Revision: D45177862

fbshipit-source-id: ce9930b51e45ef7abcf93d578b3f337b256a23eb
rshest added a commit to rshest/react-native that referenced this pull request Apr 21, 2023
Summary:
Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Differential Revision: D45177697

fbshipit-source-id: 39ffc59bdfe7821c66c8c64e1215b1aca19df8d9
rshest added a commit to rshest/react-native that referenced this pull request Apr 21, 2023
Summary:
Pull Request resolved: facebook#37017

Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Reviewed By: cipolleschi

Differential Revision: D45177862

fbshipit-source-id: e0baa2533f6428dc810102def437176606fcb82e
facebook-github-bot pushed a commit that referenced this pull request Apr 21, 2023
Summary:
Pull Request resolved: #37017

Changelog: [Internal]

Re-submitting #36998, which was reverted earlier due to the internal compatibility check issues.

Reviewed By: cipolleschi

Differential Revision: D45177862

fbshipit-source-id: f47ef496e3d7531b5e077310c72def80b024be6e
jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
Summary:
Pull Request resolved: facebook#36998

For performance entries that have the same start/end time it makes more sense to report them back to `PerformanceObserver` in the same order they were logged.

This kind of determinism is arguably better both in terms of API, and from the point of view of testing.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D45142500

fbshipit-source-id: 77ff0093bead45dc2f15efc4b903dc181927565a
jeongshin pushed a commit to jeongshin/react-native that referenced this pull request May 7, 2023
Summary:
Pull Request resolved: facebook#37017

Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Reviewed By: cipolleschi

Differential Revision: D45177862

fbshipit-source-id: f47ef496e3d7531b5e077310c72def80b024be6e
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Pull Request resolved: facebook#36998

For performance entries that have the same start/end time it makes more sense to report them back to `PerformanceObserver` in the same order they were logged.

This kind of determinism is arguably better both in terms of API, and from the point of view of testing.

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D45142500

fbshipit-source-id: 77ff0093bead45dc2f15efc4b903dc181927565a
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
Summary:
Pull Request resolved: facebook#37017

Changelog: [Internal]

Re-submitting facebook#36998, which was reverted earlier due to the internal compatibility check issues.

Reviewed By: cipolleschi

Differential Revision: D45177862

fbshipit-source-id: f47ef496e3d7531b5e077310c72def80b024be6e
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. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants