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

Add 'panel shown' perf metrics #96

Merged

Conversation

EdmondChuiHW
Copy link

Summary

  1. Add 'panel shown' event to perf metrics
  2. Add 'current panel name' to all other events

Test plan

Test E2E in D60692046

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.

}

panelShownInLocation(panelName: string, location: PanelLocation): void {
// The current panel name would be sent along via #decorateEvent(…)
Copy link

Choose a reason for hiding this comment

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

nit

Suggested change
// The current panel name would be sent along via #decorateEvent(…)
// The current panel name will be sent along via #decorateEvent(…)

@EdmondChuiHW EdmondChuiHW merged commit 6e51d6e into facebookexperimental:main Oct 11, 2024
2 checks passed
@EdmondChuiHW EdmondChuiHW deleted the panel-perf-metrics branch October 11, 2024 11:58
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