Uh oh!
There was an error while loading. Please reload this page.
[release/8.0] Metrics Feature Switch - #92019
Conversation
tarekgh
commented
Sep 13, 2023
tarekgh
commented
Sep 13, 2023
@ericstj please have a look and approve it if you don't see any concerns with it. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
ericstj
left a comment
There was a problem hiding this comment.
This LGTM and I approve for RC2.
One ask is to double check that this will integrate well by staging the changes you want to make in the SDK and confirming the right default / feature enabled behavior. I know I've mixed up defaults or true/false values more than once myself.
ericstj
commented
Sep 13, 2023
@artl93 this is ready for your approval as well. |
tarekgh
commented
Sep 14, 2023
I am currently doing some more tests. Please hold merging till I finish. nothing alarming so far :-) |
@ericstj I have done more manual testing building and running as AOT. I confirmed when the switch is not defined or it is defined with |
artl93
commented
Sep 14, 2023
For my education, what do you mean by, "When having it"? Do you mean after merge and the SDK is produced? |
ericstj
commented
Sep 14, 2023
This change in dotnet/runtime will require corresponding change in the SDK targets to expose this new feature to the build. Those changes will look similar to these: |
Fixes#89880
Backport of #91767 to release/8.0
/cc @tarekgh
Customer Impact
The introduction of a feature switch enables the option to disable the metrics feature, aiding in trimming and AOT scenarios. This modification addresses and resolves the performance regression observed in Xamarin app startup scenarios. For additional information, please refer to the following issue: #89880.
Testing
Successfully ran all regressions test and added a new test covering testing when the new switch is enabled.
Risk
We haven't made any alterations or adjustments to the code or logic when the new switch is left disabled. Therefore, any modifications will only become apparent when the switch is activated. The risk of this change adversely affecting any existing, functional functionality is exceedingly low.
IMPORTANT: If this backport is for a servicing release, please verify that:
The PR target branch is
release/X.0-staging, notrelease/X.0.If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.