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

Disable tiered compilation of ILCompiler #750

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

MichalStrehovsky
Copy link
Member

Tiered compilation is detrimental to both:

  • raw throughput (disabling it leads to 3-5% improvement in AOT compilation wallclock time), and
  • getting stable throughput numbers (throughput numbers are noisy within 2-3%, but well above the numbers with TC off)

Cc @dotnet/crossgen-contrib - these things usually map to crossgen2 as well; might be worth trying. But it's also possible that this depends on the size of input. NativeAOT compiles more stuff and maps more closely to composite crossgen2 compilation sizes - not the "normal" crossgen2 compilations.

Tiered compilation is detrimental to both:

* raw throughput (disabling it leads to 3-5% improvement in AOT compilation wallclock time), and
* getting stable throughput numbers (throughput numbers are noisy within 2-3%, but well above the numbers with TC off)
@MichalStrehovsky MichalStrehovsky added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Feb 26, 2021
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants