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

chore: RFC-0759 remove profile-hermes #2316

Merged
merged 1 commit into from Mar 4, 2024
Merged

Conversation

blakef
Copy link
Contributor

@blakef blakef commented Mar 1, 2024

Summary:

RFC-0759 [1] asks for the removal of this command from the community CLI. This is a legacy method of gathering profiling data for Android only. It has been superseded by the experimental debugger [2], which connects to the CDP server and gathers the these profiles for iOS and Android using the CDP Profile domain [3].

I've also removed all references to it that I could find the markdown docs.

[1] https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0759-react-native-frameworks.md#community-cli
[2] https://reactnative.dev/docs/next/debugging?js-debugger=new-debugger#opening-the-debugger
[3] https://cdpstatus.reactnative.dev/devtools-protocol/tot/Profiler

Test Plan:

Build & ran ./packages/cli/dist/bin.js to confirm it was no longer present.

Checklist

  • Documentation is up to date to reflect these changes.
  • Follows commit message convention described in CONTRIBUTING.md

@github-actions github-actions bot added the docs Documentation change label Mar 1, 2024
Copy link
Collaborator

@szymonrybczak szymonrybczak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@szymonrybczak szymonrybczak changed the title chore: remove profile-hermes chore: RFC-0759 remove profile-hermes Mar 1, 2024
RFC-0759 [1] asks for the removal of this command from the community CLI. This
is a legacy method of gathering profiling data for Android only. It has been
superseded by the experimental debugger [2], which connects to the CDP server
and gathers the these profiles for iOS and Android using the CDP Profile
domain [3].

[1] https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0759-react-native-frameworks.md#community-cli
[2] https://reactnative.dev/docs/next/debugging?js-debugger=new-debugger#opening-the-debugger
[3] https://cdpstatus.reactnative.dev/devtools-protocol/tot/Profiler
@blakef blakef force-pushed the rfc-0759-remove-hermes-profiler branch from 0d84172 to 0f08567 Compare March 4, 2024 14:43
@blakef blakef merged commit aca901d into main Mar 4, 2024
10 checks passed
@blakef blakef deleted the rfc-0759-remove-hermes-profiler branch March 4, 2024 14:46
@cortinico
Copy link
Member

Can we also update docs/profile-hermes.md on the react-native-website accordingly?

blakef added a commit to facebook/react-native-website that referenced this pull request Mar 5, 2024
@blakef
Copy link
Contributor Author

blakef commented Mar 5, 2024

Thanks for pointing this out, PR is up: facebook/react-native-website/pull/4037

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants