Repository navigation
Remove perf hacks from Span.Slice and friends + JIT improvement - #138124
Conversation
Co-authored-by: Copilot <[email protected]> Copilot-Session: 4beb7515-c5ef-469e-b43a-dd711a528e77
|
@MihuBot -nuget |
|
Azure Pipelines: Successfully started running 5 pipeline(s). 10 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @dotnet/area-system-runtime |
Fixes TestTwoSlices regression: (t + c) vs t where t is itself X + c'. Co-authored-by: Copilot <[email protected]> Copilot-Session: 4b6322a2-2b6b-4142-9d89-331efb5f03c2
|
@MihuBot -nuget |
|
@dotnet/jit-contrib @AndyAyersMS @jkotas I suggest removing the SPMI diffs: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1695068&view=ms.vss-build-web.run-extensions-tab If we see regressions in dotnet/performance, I'll fix them or revert the change. We're still early in the development cycle, so I think we have plenty of time to test it. |
|
Sounds good to me. I can see that the JIT has a hard time undoing the obfuscation of intent.
I assume that you are not aware of any microbenchmark regressions that matter. Correct? |
Wasn't able to detect any regression in something complex, for isolated calls to Slice (under NoInlining) I've got:
I still might be able to merge 2 checks in the hack we had inside the JIT, but it's not in this PR, would love to see dotnet/perf results first if it's worth the complexity. cc @AndyAyersMS for the JIT side work in the PR (improved #138092 scenario with some nice SPMI diffs). |
|
Also closes #119689? |
|
/ba-g infra issues |
Closes #138092