-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Ability to start & stop content tracing #71
Comments
It's not really clear to me how it will be used. If we add ability to start and stop it, how would you see the result? Can you elaborate a bit more about how you imagine working with it and what problems it solves? |
Beyond its use in Chromium for detailed tracing, content tracing is of further use in Electron to provide a unified view of application activity across all the processes on a single timeline. The trace viewer (chrome://tracing) is not included in Electron, so the trace data is saved to a file by the That all works today, but it requires me to modify and rebuild my application code to start/stop the tracing at the right moment. I would prefer to be able to start and stop arbitrarily by user interaction, to provide convenience similar to that offered by the devtools Performance tab. How I imagine it working:
|
Thanks for elaborating. Yes, this would be a good addition here. I think it should be opt-in through an option though. Would it maybe also be useful if |
Yes probably. |
@IssueHunt has funded $60.00 to this issue.
|
https://electronjs.org/docs/api/content-tracing
Trigger it using a keyboard shortcut. Read options from a file having a well-known name in the same folder. If no file found then create one and populate it with some default options.
The text was updated successfully, but these errors were encountered: