-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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] TE plaintext and json benchmarks regression #61484
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@fanyang-mono, could you provide guidance on how to get the disassembly for Mono on these benchmarks, etc? |
For what it's worth, this looks like a Mono bug and something its not handling correctly. Given there were only two very minor mono file changes here: https://github.com/dotnet/runtime/pull/53450/files#diff-ce66e94ce2cdb8e54003a124a4057ce5d5dc5325ad32c9601a4662f8fa39367a My guess is that Mono isn't handling some pattern or API which is getting handled by CoreCLR. |
Could be. I will obtain the trace before and after the regression to see what changed for Mono. |
@tannergooding the drop in the charts happens when we switched from net6.0 to net7.0 so it could have been from any commits for about 1-2 months of changes on main while we were still benchmarking net6.0. The improvements you are mentioning are for this 1-2 months period too, not specifically this change. @fanyang-mono identified the specific mono regression to two consecutive builds by running benchmarks manually on previous builds. It's possible that it also impacts the coreclr benchmarks, but other improvements in net7.0 still have a positive impact (ThreadPool improvements for instance). @fanyang-mono can you share the runtime versions you used, and maybe do a run on coreclr for the same benchmarks between these two versions? |
@sebastienros, that's certainly possible, but I also think its somewhat unlikely. We have the Before merging PRs like this we get diffs and there was nothing significant for RyuJIT in the frameworks, tests, or benchmarks libraries. There were likewise several improvements that were directly correlated to the PR and no flagged regressions from what we observed. |
It looks like we are also seeing this regression in Microbenchmarks: dotnet/perf-autofiling-issues#2173 (that is a link to the automated issue). I don't think it makes sense for me to create another one, but using the microbenchmarks might be easier for validation of a fix. |
Runtime packages of this regression: |
Among all the regressions filed for the above issue, these microbenchmarks showed regression exactly on Sept 30th. |
Just noting a related PR went in: #60094 It would be interesting to see if Mono likewise sees a regression or any change here, particularly since these ones are showing 43% and 25% improvements in our perf triage from today: dotnet/perf-autofiling-issues#2339 and dotnet/perf-autofiling-issues#2346 |
The solution of this regression is tracked by #64072 |
@fanyang-mono : assigning to you for tracking |
Closing this issue as the planned work has finished. |
A recent change has caused regression for TE plaintext and json benchmarks running on Mono. The PR which caused this regression is #53450
cc: @imhameed
The text was updated successfully, but these errors were encountered: