Mirror changes from dotnet/coreclr#28384
Conversation
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
…al (#17087) Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Two main changes: 1. Rewrote the formatting to use span, only to then discover that we already had almost exactly the same implementation in Utf8Formatter. As that one had some extra optimizations around JIT behaviors, I ported that over instead. 2. Avoided [ThreadStatic] lookups unless necessary. ToString/TryFormat for "o"/"O" improve by ~2.5x. ToString/TryFormat for "r"/"R" improve by ~3x. Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
|
@ahsonkhan i fixed this part. |
|
@ahsonkhan, this is failing the netfx build with: |
|
Yep. I am just about to cherry-pick the commits from #28296 into here to resolve the CI failures. |
|
It looks like we need a new ProjectN build. UWP NETNative x86 Release Build |
|
Add baseline for the ProjectN missing APIs. Do not wait for the ProjectN update. |
|
This is still failing on UWP. Should I be modifying the baseline here instead (or both?): https://github.com/dotnet/corefx/blob/master/src/shims/ApiCompatBaseline.uapaot.netstandard20.txt? |
|
OSX.1012.Amd64.Open-x64-Debug Windows x86 Release Build Similar to #27737 (comment) cc @danmosemsft, @Anipik, @ruben-ayrapetyan |
|
@dotnet-bot test OSX x64 Debug Build |
* Small tweaks to Dict asm size (dotnet/coreclrdotnet/corefx#17096) Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com> * Moving Span APIs that allow skipping visibility checks to MemoryMarshal (dotnet/corefx#17087) Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com> * Improve DateTime{Offset} "r" and "o" formatting performance (dotnet/corefx#17092) Two main changes: 1. Rewrote the formatting to use span, only to then discover that we already had almost exactly the same implementation in Utf8Formatter. As that one had some extra optimizations around JIT behaviors, I ported that over instead. 2. Avoided [ThreadStatic] lookups unless necessary. ToString/TryFormat for "o"/"O" improve by ~2.5x. ToString/TryFormat for "r"/"R" improve by ~3x. Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com> * Rename {Try}Read/WriteMachineEndian to just {Try}Read/Write (dotnet/corefx#17106) Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com> * Fix incorrect array dereference. (dotnet/coreclrdotnet/corefx#17113) Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com> * Move Span APIs that allow skipping visibility checks to MemoryMarshal * Rename {Try}Read/WriteMachineEndian to just {Try}Read/Write * Update calls to BinaryPrimitives.ReadMachineEndian * Rename calls to ReadMachineEndian in System.Memory perf tests. * Add ApiCompatBaseline for UWP NETNative * Add to ApiCompatBaseline for UWP NETNative netstandard20 Commit migrated from dotnet/corefx@3767d30
This PR contains mirrored changes from dotnet/coreclr
Please REBASE this PR when merging