Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono][interp] Implement tiering within the interpreter #65369

Closed
BrzVlad opened this issue Feb 15, 2022 · 2 comments
Closed

[mono][interp] Implement tiering within the interpreter #65369

BrzVlad opened this issue Feb 15, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@BrzVlad
Copy link
Member

BrzVlad commented Feb 15, 2022

A considerable amount of time during application startup (double digit percentages) is spent compiling the managed methods with the interpreter. Inlining and other optimization passes are responsible for a big chunk of time spent compiling methods. Disabling these optimizations can decrease the compilation time by over 30%.

We can improve the startup time of applications using interpreter (blazor/maui) by a considerable amount if we first compile methods without any optimizations, tiering them up later during execution.

@BrzVlad BrzVlad added this to the 7.0.0 milestone Feb 15, 2022
@BrzVlad BrzVlad self-assigned this Feb 15, 2022
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Feb 15, 2022
@ghost
Copy link

ghost commented Feb 15, 2022

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

Issue Details

A considerable amount of time during application startup (double digit percentages) is spent compiling the managed methods with the interpreter. Inlining and other optimization passes are responsible for a big chunk of time spent compiling methods. Disabling these optimizations can decrease the compilation time by over 30%.

We can improve the startup time of applications using interpreter (blazor/maui) by a considerable amount if we first compile methods without any optimizations, tiering them up later during execution.

Author: BrzVlad
Assignees: BrzVlad
Labels:

area-Codegen-Interpreter-mono

Milestone: 7.0.0

@SamMonoRT SamMonoRT added runtime-mono specific to the Mono runtime and removed untriaged New issue has not been triaged by the area owner labels Feb 15, 2022
@BrzVlad
Copy link
Member Author

BrzVlad commented Jun 14, 2022

Implemented in #68823

@BrzVlad BrzVlad closed this as completed Jun 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants