-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Regression in R2R compilation time #100995
Comments
@sebastienros is there a commit range? (I don't see an ability to view it on the e.g. Single File tab) |
Likely, ffb2578...e6c1a49 |
That's what I have yes, we could probably go shorter by trying builds from within the range if you don't find anything
|
Haven't had time to file this one, are you saying it's related? I wouldn't think so |
Dates match |
The thing is - when something goes wrong for AOT'd code - JIT can just re-jit it, while NAOT cannot, so it explains why TP only got hurt for NAOT. |
Here are the commands for the AOT one:
|
The main suspect is #99982 |
Minimal changeset identified for the nativeaot benchmark: |
Oh, so #100728 then? |
nativeaot may be special, not sure if moving the runtime version without the corresponding sdk might change the outcome. But at least I set the framework reference and |
Really?? |
@SingleAccretion suspects this to be the reason since Feels like there should be a builtin analyzer warning on |
Ugh. I looked for each such type I wasn't sure about, and I swear I saw it was a class, but I probably incorrectly mistook runtime/src/coreclr/vm/castcache.h Line 48 in 7b18be5
|
|
Fixed by #100996 |
It doesn't look like it's solved, e.g. NAOT run from today is still slow and build time is still slow for R2R |
@sebastienros can you take a look if it's solved |
I confirm the NAOT one is fixed, I had to set |
Linux and Windows, PlaintextPlatform benchmark in this example, Single file, Trimmed and Self-contained
Binlogs before/after show
msbuild.binlog.zip
The text was updated successfully, but these errors were encountered: