maui
                                
                                 maui copied to clipboard
                                
                                    maui copied to clipboard
                            
                            
                            
                        [Windows] Improve performance of `ContentPanel.EnsureBorderPath`
Description of Change
This PR is a simple performance improvement for ContentPanel on Windows.
The main change is in the 3rd commit (50567205e9d18a4281ad8890106d11fa4594fdb9), previous commits fix code style.
Performance comparison
Speedscope comparing main and this PR using testing code (main, PR):
How to repeat:
cd src/Controls/samples/Controls.Sample.Sandbox
dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:PublishReadyToRun=false -p:WindowsPackageType=None
dotnet trace collect --format speedscope -- .\bin\Release\net8.0-windows10.0.19041.0\win10-x64\publish\Maui.Controls.Sample.Sandbox.exe
and click Batch Add Borders button FIVE times.
Issues Fixed
Contributes to #21087
Hey there @MartyIX! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
Could you update again the Speedscope comparison screenshot?
Here is the original one:
Or do you mean a new one?