-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Perf] Regressions in BenchmarksGame.FannkuchRedux_5 #68822
Comments
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsRun Information
Regressions in BenchmarksGame.FannkuchRedux_5
Reprogit clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net6.0 --filter 'BenchmarksGame.FannkuchRedux_5*' PayloadsHistogramBenchmarksGame.FannkuchRedux_5.RunBench(n: 10, expectedSum: 38)
Description of detection logic
DocsProfiling workflow for dotnet/runtime repository
|
Seems related to #67930 |
Maybe related dotnet/perf-autofiling-issues#5141 |
Possible improvements: dotnet/perf-autofiling-issues#5072 |
After #67930, we do clone more loops within which we have more cloned loops. I will investigate more and see if we can modify the heuristics for such cases. |
dumps: 68822_dumps.zip |
At first, looking at the before vs. after diff in profiling, I see same region of code being hot and that led me thinking that it would have disturbed the code locality leading to the regression. However, when I see other generated code before/after, I see some strange sequences:
Full diffs are 68822.zip I will continue investigating. |
This happens because today, redundant branch optimizations differentiate similar operators like
This is happening because we are hitting limit on number of assertions we are creating after loop cloning. See details in #10591 and #10592. As such, there is nothing much we can do at this point and since we already have issues for them, I will close this issue. |
Run Information
Regressions in BenchmarksGame.FannkuchRedux_5
Test Report
Repro
Payloads
Baseline
Compare
Histogram
BenchmarksGame.FannkuchRedux_5.RunBench(n: 10, expectedSum: 38)
Description of detection logic
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
The text was updated successfully, but these errors were encountered: