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

Perf: add launch events #28

Merged
merged 5 commits into from
Mar 26, 2024

Conversation

EdmondChuiHW
Copy link

@EdmondChuiHW EdmondChuiHW commented Mar 20, 2024

Summary

TLDR: two basic events for launch time

Open source: no-op as perf metrics is only applicable for internal builds. See #16

  • Entrypoint.LoadingStarted: fired when entry point begins loading
  • Debugger.IsReadyToPause: fired when SDK is ready to pause

Corresponding internal diff

Stack

Stacked on #26 and #27

Preview this PR in isolation at https://github.com/EdmondChuiHW/rn-chrome-devtools-frontend2/pull/2/files

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

Copy link

@huntie huntie left a comment

Choose a reason for hiding this comment

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

LGTM :) (with blocking feedback in prior PRs)

@EdmondChuiHW EdmondChuiHW merged commit 5fb23cd into facebookexperimental:main Mar 26, 2024
2 checks passed
@EdmondChuiHW EdmondChuiHW deleted the session-events branch May 29, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants