You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regressions in System.Text.RegularExpressions.Tests.Perf_Regex_Common #59813
changed the title [-][Perf] Changes at 9/28/2021 12:45:36 PM[/-][+]Regressions in System.Text.RegularExpressions.Tests.Perf_Regex_Common[/+]on Sep 30, 2021
is there a way to get bench asm diffs with altjit? the regression is on arm64 windows that I don't have access to. The only known regression there from my change was like this:
The regression was definitely introduced in #59429, but then I checked what changes made the improvements and they were one of these 8e9ab9f...918aaec. @stephentoub touched some Regex portion and that might have erased the regression. @stephentoub , can you confirm that theory? If that is true, it means the regression is still there, it just got hidden from the improvements.
@stephentoub touched some Regex portion and that might have erased the regression. @stephentoub , can you confirm that theory
Hmm. I don't think those changes should have impacted this ReplaceWords test at all (I'd have expected a small improvement in a few of the other regex tests, specifically the ones that search for a single word, but not in this test that searches for multiple words).
Activity
[-][Perf] Changes at 9/28/2021 12:45:36 PM[/-][+]Regressions in System.Text.RegularExpressions.Tests.Perf_Regex_Common[/+]kunalspathak commentedon Sep 30, 2021
Introduced in #59429
kunalspathak commentedon Sep 30, 2021
@sandreenko
sandreenko commentedon Sep 30, 2021
interesting, I will take a look this week.
sandreenko commentedon Oct 4, 2021
is there a way to get bench asm diffs with altjit? the regression is on arm64 windows that I don't have access to. The only known regression there from my change was like this:
but I don't think it could cause such regression on this test.
Do we have improvements from this change?
kunalspathak commentedon Oct 5, 2021
I got asm diff for following methods and didn't find any asm diff using altjit
1[ValueTuple5],bool):this1[ValueTuple5],bool,System.TimeSpan):thisCurrently, this is how the historic graph looks like:
https://pvscmdupload.blob.core.windows.net/reports/allTestHistory/refs/heads/main_arm64_Windows%2010.0.19041/System.Text.RegularExpressions.Tests.Perf_Regex_Common.ReplaceWords(Options%3a%20None).html
The regression was definitely introduced in #59429, but then I checked what changes made the improvements and they were one of these 8e9ab9f...918aaec. @stephentoub touched some Regex portion and that might have erased the regression. @stephentoub , can you confirm that theory? If that is true, it means the regression is still there, it just got hidden from the improvements.
kunalspathak commentedon Oct 5, 2021
Ubuntu arm64 historical data looks very strange for this benchmark:
https://pvscmdupload.blob.core.windows.net/reports/allTestHistory%2frefs%2fheads%2fmain_arm64_ubuntu%2018.04%2fSystem.Text.RegularExpressions.Tests.Perf_Regex_Common.ReplaceWords(Options%3a%20None).html
stephentoub commentedon Oct 5, 2021
Hmm. I don't think those changes should have impacted this ReplaceWords test at all (I'd have expected a small improvement in a few of the other regex tests, specifically the ones that search for a single word, but not in this test that searches for multiple words).
stephentoub commentedon Oct 5, 2021
That's a huge bimodal distribution?
kunalspathak commentedon Oct 5, 2021
If that is the case and given there is asm diff in the benchmark, we can safely categorize it as noise.