Skip to content

Simplify PerformanceTracer API and move processing to TracingAgent#52934

Closed
rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D79271690
Closed

Simplify PerformanceTracer API and move processing to TracingAgent#52934
rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D79271690

Conversation

@rubennorte

Copy link
Copy Markdown
Member

Summary:
Changelog: [internal]

Right now, the PerformanceTracer API has a method to stop the trace and a separate one to collect serialized events. This refactors the API to return the collected events when calling stopTracing instead.

The caller (in this case TracingAgent) is responsible for serializing and sending the events in chunks through CDP.

Differential Revision: D79271690

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 31, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…52934)

Summary:
Pull Request resolved: #52934

Changelog: [internal]

Right now, the `PerformanceTracer` API has a method to stop the trace and a separate one to collect serialized events. This refactors the API to return the collected events when calling `stopTracing` instead.

The caller (in this case `TracingAgent`) is responsible for serializing and sending the events in chunks through CDP.

Reviewed By: hoxyq

Differential Revision: D79271690
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

1 similar comment
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 31, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 9f6440d.

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