[android] update AOT profile for .NET 10 RC 2#31768
Merged
Conversation
I tested this with the current `net10.0` branch.
An average of 10 runs on a Pixel 5 device:
Before:
Average(ms): 594.1
Std Err(ms): 3.70120100628011
Std Dev(ms): 11.7042252579523
After:
Average(ms): 587.4
Std Err(ms): 2.43675558433294
Std Dev(ms): 7.70569774762661
The numbers look pretty similar to last time:
* #31187
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request updates the Ahead-of-Time (AOT) compilation profiles for .NET 10 RC 2 on Android. The profiles contain methods that are frequently called during app execution and need to be pre-compiled to improve startup performance.
Key changes:
- Added new Android animation-related methods for better UI performance
- Updated method signatures and ordering to match .NET 10 RC 2 runtime
- Removed some obsolete or relocated methods from previous .NET versions
Reviewed Changes
Copilot reviewed 2 out of 6 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| maui.aotprofile.txt | Main AOT profile with comprehensive method list updates for .NET 10 RC 2 compatibility |
| maui-blazor.aotprofile.txt | Blazor-specific AOT profile with similar updates focused on web view components |
rmarinho
approved these changes
Sep 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tested this with the current
net10.0branch.An average of 10 runs on a Pixel 5 device:
The numbers look pretty similar to last time: