Skip to content

Define sampling methods implementations for Hermes fallback target delegate #51519

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

Closed
wants to merge 1 commit into from

Conversation

hoxyq
Copy link
Contributor

@hoxyq hoxyq commented May 22, 2025

Summary:

Changelog: [Internal]

Hermes Sampling Profiler doesn't require debugger to be enabled - we can use it in fallback Hermes Runtime target delegate. That's probably the last thing to make Hermes really run in opt mode.

When Hermes Target is compiled with no Debugger support, we can still define implementation for sampling profiler methods and call them on Hermes Runtime.

Differential Revision: D75188276

@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 labels May 22, 2025
@facebook-github-bot
Copy link
Contributor

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

@hoxyq hoxyq force-pushed the export-D75188276 branch from bae982b to 9da2a4b Compare May 22, 2025 17:30
hoxyq added a commit to hoxyq/react-native that referenced this pull request May 22, 2025
…legate (facebook#51519)

Summary:

# Changelog: [Internal]

Hermes Sampling Profiler doesn't require debugger to be enabled - we can use it in fallback Hermes Runtime target delegate. That's probably the last thing to make Hermes really run in `opt` mode.

When Hermes Target is compiled with no Debugger support, we can still define implementation for sampling profiler methods and call them on Hermes Runtime.

Differential Revision: D75188276
@facebook-github-bot
Copy link
Contributor

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

hoxyq added a commit to hoxyq/react-native that referenced this pull request May 22, 2025
…legate (facebook#51519)

Summary:
Pull Request resolved: facebook#51519

# Changelog: [Internal]

Hermes Sampling Profiler doesn't require debugger to be enabled - we can use it in fallback Hermes Runtime target delegate. That's probably the last thing to make Hermes really run in `opt` mode.

When Hermes Target is compiled with no Debugger support, we can still define implementation for sampling profiler methods and call them on Hermes Runtime.

Differential Revision: D75188276
@hoxyq hoxyq force-pushed the export-D75188276 branch 2 times, most recently from 3d4e2cc to 01ad1a3 Compare May 22, 2025 18:22
hoxyq added a commit to hoxyq/react-native that referenced this pull request May 22, 2025
…legate (facebook#51519)

Summary:

# Changelog: [Internal]

Hermes Sampling Profiler doesn't require debugger to be enabled - we can use it in fallback Hermes Runtime target delegate. That's probably the last thing to make Hermes really run in `opt` mode.

When Hermes Target is compiled with no Debugger support, we can still define implementation for sampling profiler methods and call them on Hermes Runtime.

Differential Revision: D75188276
…legate (facebook#51519)

Summary:
Pull Request resolved: facebook#51519

# Changelog: [Internal]

Hermes Sampling Profiler doesn't require debugger to be enabled - we can use it in fallback Hermes Runtime target delegate. That's probably the last thing to make Hermes really run in `opt` mode.

When Hermes Target is compiled with no Debugger support, we can still define implementation for sampling profiler methods and call them on Hermes Runtime.

Differential Revision: D75188276
@facebook-github-bot
Copy link
Contributor

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

@hoxyq hoxyq force-pushed the export-D75188276 branch from 01ad1a3 to 65f44d5 Compare May 22, 2025 18:25
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 23, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a633d93.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @hoxyq in a633d93

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

Successfully merging this pull request may close these issues.

None yet

3 participants