-
Notifications
You must be signed in to change notification settings - Fork 770
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
feat: Added tracing instrumentation into Hot Reload #19754
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces tracing instrumentation into the hot reload workflow, enabling ETW-based event logging to aid performance analysis with PerfView.
- Integrated tracing events into the hot reload and update file workflows in the VS remote control entry point.
- Added tracing calls in the hot reload processor to log reload events.
- Implemented a new EventTracingProvider for ETW event logging.
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
File | Description |
---|---|
src/Uno.UI.RemoteControl.VS/EntryPoint.cs | Added tracing calls around force hot reload and file update operations. |
src/Uno.UI.RemoteControl.Server.Processors/HotReload/ServerHotReloadProcessor.cs | Inserted a tracing event for hot reload events to log event source and type. |
src/Uno.UI.RemoteControl.Messaging/EventTracingProvider.cs | Introduced a new ETW tracing provider for logging hot reload events. |
Files not reviewed (1)
- src/Uno.UI.RemoteControl.Server.Processors/Uno.UI.RemoteControl.Server.Processors.csproj: Language not supported
Comments suppressed due to low confidence (2)
src/Uno.UI.RemoteControl.VS/EntryPoint.cs:545
- [nitpick] The variable name 'success' is generic. Consider renaming it to 'hotReloadSucceeded' to improve clarity.
var success = false;
src/Uno.UI.RemoteControl.VS/EntryPoint.cs:581
- [nitpick] The variable name 'success' is generic. Consider renaming it to 'updateFileSucceeded' to clearly indicate its purpose in the file update workflow.
var success = false;
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-19754/index.html |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-19754/index.html |
The build 158876 found UI Test snapshots differences: Details
|
Feature
This PR introduces tracing instrumentation into the hot reload workflow, enabling ETW-based event logging to aid performance analysis with PerfView.
Uno.HotReload.TracingProvider
Note
DRAFT: Still improving it and needs some docs.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):