Repository navigation
perf: Improve xaml generator performance - #11074
Conversation
779bcca to
2ff36fa
Compare
9a6fe33 to
cef959a
Compare
e72662c to
da3ac20
Compare
|
@jeromelaban This is ready for review. |
|
This is unfortunately a large breaking change. There are some legacy codebases which rely on the use of fuzzy matching. This may be a change that we can include in the next major breaking change pass. That being said, the change about the |
|
I tried to reduce the impact of the breaking change by adding additional namespaces that are searched by default. We can also introduce an MSBuild property Alternatively, we can introduce a |
|
Also worth noting that code relying on this wouldn't compile on Windows. |
|
I don't mind if we introduce this breaking change in the next major, it's a good one. Introducing the msbuild property is a good idea, we'll make it enabled by default for 4.x, and mention that in the docs that devs will need to test it when moving to the later version. |
|
Two different errors in CI. One that I cannot reproduce locally, and the other is because of incomplete Then will see if the error that I cannot reproduce locally will happen. |
|
|
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
@jeromelaban Finally, this is green now 🎉 |

Previously, every run of the generator was collecting a dictionary of all symbols in compilation references. This is very expensive, and the generator is run on every change in the IDE. This is both slow and very memory consuming which can in turn cause high GC pause times.
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):