-
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
[Perf -19%] [Mono] System.Text.Tests.Perf_Encoding.GetByteCount #43476
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. |
This appears to have been caused by one of the commits in this range: f2d51b5...d6887d4 |
@DrewScoggins the graph above does not show a regression (I do see it when I go to the link) @naricc I think it's a bit narrower? f2d51b5...30e643e Most likely commit is probably @dotnet/jit-contrib |
Scratch that, it's Mono. @SamMonoRT looks like you're already tracking it? Although, I don't see any interesting Mono changes in this range. @DrewScoggins in these issues, it would be very helpful to indicate what platforms and what VM's the repro is on. For example, is this specific to x64? to ubuntu? to Mono? I have spent some time in https://aka.ms/dotnetperfindex and I was not able to figure that out. |
Looks all are Mono specific on Ubuntu System.Text.Tests.Perf_Encoding.GetByteCount(size: 512, encName: "utf-8")
System.Collections.CtorGivenSizeNonGeneric.SortedList(Size: 512)
System.Memory.ReadOnlyMemory.ToArray(Size: 512)
System.Net.Primitives.Tests.IPAddressPerformanceTests.Ctor_Span(address: [16, 32, 48, 64, 80, ...])
System.Tests.Perf_Int16.ToString(value: 32767)
|
Need to dig in a little more, could be any BCL or Mono runtime change causing the regressions. Also, to note we just enabled the auto-filling for Mono runs, still getting familiar with commit disection |
@DrewScoggins - to avoid confusion, is it possible to add [Mono] to the issue title as part of the auto-filing logic ? |
In every bug that I file I always mark with labels all of the affected platforms, that the lab is able to detect. I thought that marking these issues with the runtime-mono label would make it clear that these were on the mono runtime, I can see that this is not the case. I will make sure that all issues that get moved into the runtime repo going forward that are from Mono have [Mono] in the title of the bug. |
@DrewScoggins thanks - I didn't know this. |
@SamMonoRT any thoughts about where investigation should be? I'm at a bit of a loss as to which of these changes could have caused it. |
@danmosemsft None of the changes look particularly likely to have caused this regression. The ones that only change coreclr code can be ruled out; the ones that change libraries could could theoretically causes a performance regression in Mono. But looking at them and looking at the benchmarks, it seems really unlikely. Since this is not affecting many benchmarks, I think its likely just a sort of random alignment issue or something like that. We don't have much historical data for these benchmarks on Mono, so it is hard to know what variation is normal. So my plan for right now is to just keep this open and monitor this benchmark over the next month or so. |
@naricc sounds good - thanks! |
Having followed the benchmarks, I don't think there is any real regression here. |
Run Information
Regressions in System.Text.Tests.Perf_Encoding
Historical Data in Reporting System
Histogram
System.Text.Tests.Perf_Encoding.GetByteCount(size: 512, encName: "utf-8")
Docs
Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository
The text was updated successfully, but these errors were encountered: