dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.29k stars 4.74k forks source link

[Mono] Add the functionality to analyze the size of all compiled methods #90232

Open fanyang-mono opened 1 year ago

fanyang-mono commented 1 year ago

This way, we could have an idea how much space we could save at most.

ghost commented 1 year ago

Tagging subscribers to this area: @directhex See info in area-owners.md if you want to be subscribed.

Issue Details
This way, we could have an idea how much space we could save at most.
Author: fanyang-mono
Assignees: fanyang-mono
Labels: `area-Infrastructure-mono`, `needs-area-label`
Milestone: 9.0.0
ivanpovazan commented 1 year ago

Not sure if this is related to AOT compilation, but there is: https://github.com/dotnet/runtime/blob/1eb702ce1efe3581488a37704cee47603a291069/src/mono/mono/mini/aot-compiler.c#L15257 which might help you with this.

fanyang-mono commented 3 months ago

Nice to have... Moving to .NET10