-
Notifications
You must be signed in to change notification settings - Fork 703
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
Adding MicaController RuntimeProfiler recording #6694
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -61,7 +61,7 @@ | |||
</ScrollViewer> | |||
<StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center"> | |||
<CheckBox x:Name="LongAnimationsDisabled" AutomationProperties.AutomationId="LongAnimationsDisabled" Content="Long Animations Disabled" Checked="LongAnimationsDisabled_Checked" Unchecked="LongAnimationsDisabled_Unchecked" Margin="10,0,0,0"/> | |||
|
|||
<Button x:Name="GarbageCollection" Content="GarbageCollection" VerticalAlignment="Center" Click="GarbageCollection_Click" Margin="5"/> |
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.
Should this be available when within a test page as well? like the render in lab frame dimensions button?
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.
I added this here so you can hit the button, go to a test page, come back, hit the button again, and there should be no leak.
But I see that moving it next to "Enable RTL" would allow garbage collection within the test page also.
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.
OK - I moved it to the TestFrame level.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Three things happening in this PR:
Recording the creation of the MicaController type for telemetry like we do with other WinUI 2.x controls/components. This is for internal work item 38097087.
Adding a convenient garbage collection button to MuxControlsTestApp's main page. This comes handy when investigating memory leak bugs in the various test pages.
Fixing the CalendarView test page which was broken after changing the time zone in the Settings app on the fly. The test CalendarView UI would not reflect the change correctly.