Skip to content

[JitDiff X64] [AndyAyersMS] JIT: unpin locals whose value is provably non-mo ... #1991

Open

Description

@MihuBot

Job completed in 20 minutes 24 seconds (remote runner delay: 1 minute 3 seconds).
dotnet/runtime#129397
Using arguments: -nuget -jitutils-repo EgorBo/jitutils -jitutils-branch pmi-deterministic-cctors
Main commit: dotnet/runtime@4b211ba
PR commit: AndyAyersMS/runtime@236a5fe

Diffs

Diffs
Found 131 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 341914643
Total bytes of diff: 341911598
Total bytes of delta: -3045 (-0.00 % of base)
Total relative delta: Infinity
    diff is an improvement.
    relative diff is a regression.


Top file regressions (bytes):
         464 : Pipelines.Sockets.Unofficial.dasm (0.07 % of base)
         306 : App.Metrics.Core.dasm (0.17 % of base)

Top file improvements (bytes):
        -890 : System.Private.CoreLib.dasm (-0.01 % of base)
        -383 : Microsoft.Extensions.Compliance.Abstractions.dasm (-0.50 % of base)
        -332 : System.Text.Json.dasm (-0.02 % of base)
        -274 : Serilog.dasm (-0.11 % of base)
        -197 : Asp.Versioning.Abstractions.dasm (-0.17 % of base)
        -188 : System.ClientModel.dasm (-0.04 % of base)
        -186 : HotChocolate.Types.dasm (-0.01 % of base)
        -186 : HotChocolate.Types.CursorPagination.dasm (-0.10 % of base)
        -176 : OpenAI.dasm (-0.00 % of base)
        -163 : System.Net.Sockets.dasm (-0.06 % of base)
        -103 : SharpYaml.dasm (-0.01 % of base)
         -99 : StackExchange.Redis.dasm (-0.01 % of base)
         -95 : Microsoft.Diagnostics.Runtime.dasm (-0.01 % of base)
         -85 : System.Net.Security.dasm (-0.03 % of base)
         -73 : System.Diagnostics.TextWriterTraceListener.dasm (-0.41 % of base)
         -65 : System.Security.Cryptography.dasm (-0.00 % of base)
         -61 : MySqlConnector.dasm (-0.01 % of base)
         -54 : Yarp.ReverseProxy.dasm (-0.01 % of base)
         -33 : Microsoft.Extensions.Logging.Console.dasm (-0.05 % of base)
         -28 : System.Net.Primitives.dasm (-0.03 % of base)
         -26 : System.Net.Ping.dasm (-0.05 % of base)
         -25 : System.Net.Http.dasm (-0.00 % of base)
         -20 : System.Net.Quic.dasm (-0.01 % of base)
         -19 : System.Formats.Tar.dasm (-0.01 % of base)
         -18 : Markdig.dasm (-0.00 % of base)
         -12 : System.Net.WebSockets.Client.dasm (-0.05 % of base)
         -12 : Grpc.AspNetCore.Server.dasm (-0.01 % of base)
          -8 : SQLitePCLRaw.core.dasm (-0.03 % of base)
          -4 : System.Security.Cryptography.ProtectedData.dasm (-0.06 % of base)

31 total files with Code Size differences (29 improved, 2 regressed), 660 unchanged.

Top method regressions (bytes):
         464 (Infinity of base) : Pipelines.Sockets.Unofficial.dasm - Pipelines.Sockets.Unofficial.DedicatedThreadPoolPipeScheduler:RunWorkLoop():this (FullOpts)
         306 (Infinity of base) : App.Metrics.Core.dasm - App.Metrics.Apdex.DefaultApdexMetric:GetValue(bool):App.Metrics.Apdex.ApdexValue:this (FullOpts)
           9 (0.10 % of base) : OpenAI.dasm - OpenAI.Chat.ChatCompletionOptions:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
           5 (0.13 % of base) : OpenAI.dasm - OpenAI.Responses.InternalLocalShellExecAction:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)

Top method improvements (bytes):
         -92 (-3.83 % of base) : Asp.Versioning.Abstractions.dasm - Asp.Versioning.ApiVersionFormatProvider:FormatVersionWithoutPadding(System.Text.StringBuilder,Asp.Versioning.ApiVersion,byref,System.IFormatProvider) (FullOpts)
         -86 (-5.37 % of base) : System.Net.Sockets.dasm - System.Net.Sockets.Socket:.ctor(System.Net.Sockets.SafeSocketHandle,bool):this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[byte]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[double]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[int]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[long]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[short]:MoveNext():bool:this (FullOpts)
         -79 (-2.27 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[System.__Canon]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[System.Nullable`1[int]]:MoveNext():bool:this (FullOpts)
         -69 (-3.31 % of base) : Asp.Versioning.Abstractions.dasm - Asp.Versioning.ApiVersionFormatProvider:FormatAllParts(System.Text.StringBuilder,Asp.Versioning.ApiVersion,byref,System.IFormatProvider):this (FullOpts)
         -57 (-3.76 % of base) : System.Net.Security.dasm - Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle (FullOpts)
         -54 (-6.99 % of base) : Yarp.ReverseProxy.dasm - Yarp.ReverseProxy.Forwarder.ProtocolHelper:CreateSecWebSocketAccept(System.String):System.String (FullOpts)
         -47 (-2.17 % of base) : Microsoft.Diagnostics.Runtime.dasm - Microsoft.Diagnostics.Runtime.LinuxFunctions:GetFileVersion(System.String,byref,byref,byref,byref):bool:this (FullOpts)
         -47 (-1.36 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[System.Numerics.Vector`1[float]]:MoveNext():bool:this (FullOpts)
         -39 (-0.74 % of base) : OpenAI.dasm - OpenAI.Realtime.RealtimeResponse:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
         -39 (-0.69 % of base) : OpenAI.dasm - OpenAI.Realtime.RealtimeResponseOptions:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
         -38 (-4.08 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[short](short,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -37 (-10.19 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(uint,System.IO.TextWriter) (FullOpts)
         -37 (-9.09 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(ulong,System.IO.TextWriter) (FullOpts)
         -36 (-1.58 % of base) : Asp.Versioning.Abstractions.dasm - Asp.Versioning.ApiVersionFormatProvider:FormatVersionWithPadding(System.Text.StringBuilder,Asp.Versioning.ApiVersion,byref,System.IFormatProvider) (FullOpts)
         -35 (-1.04 % of base) : Microsoft.Diagnostics.Runtime.dasm - Microsoft.Diagnostics.Runtime.MacOSFunctions:GetFileVersion(System.String,byref,byref,byref,byref):bool:this (FullOpts)
         -33 (-2.62 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[System.Nullable`1[int]](System.Nullable`1[int],System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -33 (-3.73 % of base) : Microsoft.Extensions.Logging.Console.dasm - Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter:WriteInternal(Microsoft.Extensions.Logging.IExternalScopeProvider,System.IO.TextWriter,System.String,int,int,System.String,System.String,System.DateTimeOffset):this (FullOpts)
         -32 (-2.84 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[System.Nullable`1[int]](System.Nullable`1[int],System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -32 (-3.28 % of base) : MySqlConnector.dasm - MySqlConnector.Protocol.Serialization.AuthenticationUtility:HashPasswordWithNonce(System.ReadOnlySpan`1[byte],System.String):byte[] (FullOpts)
         -29 (-4.63 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(ushort):this (FullOpts)
         -29 (-4.03 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[byte](byte,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -29 (-3.18 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[int](int,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -29 (-2.66 % of base) : MySqlConnector.dasm - MySqlConnector.Protocol.Serialization.AuthenticationUtility:CreateResponseAndPasswordHash(System.String,System.ReadOnlySpan`1[byte],byref,byref) (FullOpts)
         -29 (-5.45 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(int,System.IO.TextWriter) (FullOpts)
         -29 (-3.60 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[int](int,System.String):bool:this (FullOpts)
         -28 (-5.26 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.Numerics.Vector`1[float]]:Create(System.Numerics.Vector`1[float],int):HotChocolate.Types.Pagination.IndexEdge`1[System.Numerics.Vector`1[float]] (FullOpts)
         -28 (-0.38 % of base) : OpenAI.dasm - OpenAI.Responses.CreateResponseOptions:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
         -28 (-4.77 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(long,System.IO.TextWriter) (FullOpts)
         -28 (-2.06 % of base) : SharpYaml.dasm - SharpYaml.Serialization.YamlWriter:WriteFormattableScalar[byte](byte,System.ReadOnlySpan`1[char],bool):this (FullOpts)
         -28 (-7.67 % of base) : System.Security.Cryptography.dasm - System.Security.Cryptography.RandomNumberGenerator:GetInt32(int,int):int (FullOpts)
         -28 (-6.31 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(ulong):this (FullOpts)
         -27 (-7.22 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.Format:MeasureInt64(long):int (FullOpts)
         -27 (-5.16 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[int](int,int):System.Text.StringBuilder:this (FullOpts)
         -27 (-4.80 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[long](int,long):System.Text.StringBuilder:this (FullOpts)
         -27 (-3.90 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[byte](byte,System.String):bool:this (FullOpts)
         -26 (-4.15 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(byte):this (FullOpts)
         -26 (-3.14 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[long](long,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -26 (-2.03 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[System.Nullable`1[int]](System.Nullable`1[int],System.String,System.IFormatProvider):System.String:this (FullOpts)
         -25 (-4.64 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[byte](byte,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -25 (-3.42 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[int](int,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -25 (-3.37 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[short](short,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -25 (-3.63 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[byte](byte,System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -25 (-1.69 % of base) : SharpYaml.dasm - SharpYaml.Serialization.YamlWriter:WriteFormattableScalar[int](int,System.ReadOnlySpan`1[char],bool):this (FullOpts)
         -25 (-1.65 % of base) : SharpYaml.dasm - SharpYaml.Serialization.YamlWriter:WriteFormattableScalar[long](long,System.ReadOnlySpan`1[char],bool):this (FullOpts)
         -25 (-1.69 % of base) : SharpYaml.dasm - SharpYaml.Serialization.YamlWriter:WriteFormattableScalar[short](short,System.ReadOnlySpan`1[char],bool):this (FullOpts)
         -25 (-7.40 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[byte](byte):this (FullOpts)
         -25 (-2.20 % of base) : System.Net.Http.dasm - System.Net.Http.AuthenticationHelper:ComputeHash(System.String,System.String):System.String (FullOpts)
         -25 (-2.02 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WritePropertyName(long):this (FullOpts)
         -25 (-2.87 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[System.Nullable`1[int]](System.Nullable`1[int],System.String):bool:this (FullOpts)
         -24 (-3.27 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.Format:MeasureDouble(double):int (FullOpts)
         -24 (-2.05 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WritePropertyName(ulong):this (FullOpts)
         -23 (-2.50 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(float):this (FullOpts)
         -23 (-3.50 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(ulong):this (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[byte]:Create(byte,int):HotChocolate.Types.Pagination.IndexEdge`1[byte] (FullOpts)
         -23 (-4.35 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[double]:Create(double,int):HotChocolate.Types.Pagination.IndexEdge`1[double] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[int]:Create(int,int):HotChocolate.Types.Pagination.IndexEdge`1[int] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[long]:Create(long,int):HotChocolate.Types.Pagination.IndexEdge`1[long] (FullOpts)
         -23 (-4.38 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[short]:Create(short,int):HotChocolate.Types.Pagination.IndexEdge`1[short] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.Nullable`1[int]]:Create(System.Nullable`1[int],int):HotChocolate.Types.Pagination.IndexEdge`1[System.Nullable`1[int]] (FullOpts)
         -23 (-0.92 % of base) : OpenAI.dasm - OpenAI.Responses.FileSearchCallResult:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
         -23 (-0.31 % of base) : OpenAI.dasm - OpenAI.Responses.ResponseResult:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
         -23 (-2.90 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(double):this (FullOpts)
         -23 (-2.90 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(float):this (FullOpts)
         -23 (-5.68 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(uint):this (FullOpts)
         -23 (-6.53 % of base) : System.Net.Sockets.dasm - System.Net.Sockets.SocketPal:TryCompleteReceive(System.Net.Sockets.SafeSocketHandle,System.Span`1[byte],int,byref,byref):bool (FullOpts)
         -22 (-2.49 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[int](int,System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -22 (-4.53 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(int):this (FullOpts)
         -22 (-4.18 % of base) : System.Text.Json.dasm - System.Text.Json.Nodes.JsonArray:GetPath(byref,System.Text.Json.Nodes.JsonNode):this (FullOpts)
         -22 (-3.98 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[short](int,short):System.Text.StringBuilder:this (FullOpts)
         -21 (-3.08 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(sbyte):this (FullOpts)
         -21 (-3.08 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(short):this (FullOpts)
         -21 (-3.66 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[int](int,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -21 (-3.60 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Converters.HalfConverter:WriteAsPropertyNameCore(System.Text.Json.Utf8JsonWriter,System.Half,System.Text.Json.JsonSerializerOptions,bool):this (FullOpts)
         -21 (-3.28 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Converters.HalfConverter:WriteCore(System.Text.Json.Utf8JsonWriter,System.Half) (FullOpts)
         -21 (-2.77 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(double):this (FullOpts)
         -21 (-2.77 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(float):this (FullOpts)
         -21 (-1.36 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WritePropertyName(double):this (FullOpts)
         -21 (-1.39 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WritePropertyName(float):this (FullOpts)
         -20 (-3.77 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.__Canon]:Create(System.__Canon,int):HotChocolate.Types.Pagination.IndexEdge`1[System.__Canon] (FullOpts)
         -20 (-3.38 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[short](short,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -20 (-3.57 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(sbyte,System.IO.TextWriter) (FullOpts)
         -20 (-3.57 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(short,System.IO.TextWriter) (FullOpts)
         -20 (-4.20 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(sbyte):this (FullOpts)
         -20 (-4.08 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(short):this (FullOpts) (2 methods)
         -20 (-2.76 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:AddTitlecaseLetter(byref,byref,int,int):int:this (FullOpts)
         -20 (-4.37 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:ToLower(System.Text.Rune):System.Text.Rune:this (FullOpts)
         -20 (-4.34 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:ToUpper(System.Text.Rune):System.Text.Rune:this (FullOpts)
         -20 (-2.37 % of base) : System.Security.Cryptography.dasm - System.Security.Cryptography.CryptographicOperations:VerifyHmac(System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan`1[byte],System.ReadOnlySpan`1[byte],System.ReadOnlySpan`1[byte]):bool (FullOpts)
         -20 (-4.85 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(long):this (FullOpts)
         -20 (-2.43 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[short](short,System.String):bool:this (FullOpts)
         -19 (-3.17 % of base) : System.Private.CoreLib.dasm - System.DateTimeFormat:FormatFraction[byte](byref,int,System.ReadOnlySpan`1[char]) (FullOpts)
         -19 (-4.10 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[short](short):this (FullOpts)
         -19 (-1.66 % of base) : System.Formats.Tar.dasm - System.Formats.Tar.TarHeader:WriteUstarName(System.Span`1[byte]):int:this (FullOpts)
         -18 (-3.78 % of base) : Markdig.dasm - Markdig.Renderers.HtmlRenderer:<WriteEscapeUrlCore>g__WriteEscapedUtf8Bytes|38_0(Markdig.Renderers.HtmlRenderer,System.ReadOnlySpan`1[char],char,int):int (FullOpts)

Top method regressions (percentages):
         306 (Infinity of base) : App.Metrics.Core.dasm - App.Metrics.Apdex.DefaultApdexMetric:GetValue(bool):App.Metrics.Apdex.ApdexValue:this (FullOpts)
         464 (Infinity of base) : Pipelines.Sockets.Unofficial.dasm - Pipelines.Sockets.Unofficial.DedicatedThreadPoolPipeScheduler:RunWorkLoop():this (FullOpts)
           5 (0.13 % of base) : OpenAI.dasm - OpenAI.Responses.InternalLocalShellExecAction:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)
           9 (0.10 % of base) : OpenAI.dasm - OpenAI.Chat.ChatCompletionOptions:JsonModelWriteCore(System.Text.Json.Utf8JsonWriter,System.ClientModel.Primitives.ModelReaderWriterOptions):this (FullOpts)

Top method improvements (percentages):
         -37 (-10.19 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(uint,System.IO.TextWriter) (FullOpts)
         -37 (-9.09 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(ulong,System.IO.TextWriter) (FullOpts)
         -28 (-7.67 % of base) : System.Security.Cryptography.dasm - System.Security.Cryptography.RandomNumberGenerator:GetInt32(int,int):int (FullOpts)
         -25 (-7.40 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[byte](byte):this (FullOpts)
         -27 (-7.22 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.Format:MeasureInt64(long):int (FullOpts)
         -54 (-6.99 % of base) : Yarp.ReverseProxy.dasm - Yarp.ReverseProxy.Forwarder.ProtocolHelper:CreateSecWebSocketAccept(System.String):System.String (FullOpts)
         -17 (-6.91 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Converters.CharConverter:Write(System.Text.Json.Utf8JsonWriter,char,System.Text.Json.JsonSerializerOptions):this (FullOpts)
         -23 (-6.53 % of base) : System.Net.Sockets.dasm - System.Net.Sockets.SocketPal:TryCompleteReceive(System.Net.Sockets.SafeSocketHandle,System.Span`1[byte],int,byref,byref):bool (FullOpts)
         -28 (-6.31 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(ulong):this (FullOpts)
         -23 (-5.68 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(uint):this (FullOpts)
         -29 (-5.45 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(int,System.IO.TextWriter) (FullOpts)
         -86 (-5.37 % of base) : System.Net.Sockets.dasm - System.Net.Sockets.Socket:.ctor(System.Net.Sockets.SafeSocketHandle,bool):this (FullOpts)
         -28 (-5.26 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.Numerics.Vector`1[float]]:Create(System.Numerics.Vector`1[float],int):HotChocolate.Types.Pagination.IndexEdge`1[System.Numerics.Vector`1[float]] (FullOpts)
         -27 (-5.16 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[int](int,int):System.Text.StringBuilder:this (FullOpts)
         -16 (-5.13 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.Format:MeasureUInt64(ulong):int (FullOpts)
         -20 (-4.85 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(long):this (FullOpts)
         -27 (-4.80 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[long](int,long):System.Text.StringBuilder:this (FullOpts)
         -28 (-4.77 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(long,System.IO.TextWriter) (FullOpts)
         -25 (-4.64 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[byte](byte,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -29 (-4.63 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(ushort):this (FullOpts)
         -22 (-4.53 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(int):this (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[byte]:Create(byte,int):HotChocolate.Types.Pagination.IndexEdge`1[byte] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[int]:Create(int,int):HotChocolate.Types.Pagination.IndexEdge`1[int] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[long]:Create(long,int):HotChocolate.Types.Pagination.IndexEdge`1[long] (FullOpts)
         -23 (-4.39 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.Nullable`1[int]]:Create(System.Nullable`1[int],int):HotChocolate.Types.Pagination.IndexEdge`1[System.Nullable`1[int]] (FullOpts)
         -23 (-4.38 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[short]:Create(short,int):HotChocolate.Types.Pagination.IndexEdge`1[short] (FullOpts)
         -20 (-4.37 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:ToLower(System.Text.Rune):System.Text.Rune:this (FullOpts)
         -23 (-4.35 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[double]:Create(double,int):HotChocolate.Types.Pagination.IndexEdge`1[double] (FullOpts)
         -20 (-4.34 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:ToUpper(System.Text.Rune):System.Text.Rune:this (FullOpts)
         -16 (-4.34 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(byte,System.IO.TextWriter) (FullOpts)
         -20 (-4.20 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(sbyte):this (FullOpts)
         -22 (-4.18 % of base) : System.Text.Json.dasm - System.Text.Json.Nodes.JsonArray:GetPath(byref,System.Text.Json.Nodes.JsonNode):this (FullOpts)
         -26 (-4.15 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(byte):this (FullOpts)
         -19 (-4.10 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[short](short):this (FullOpts)
         -15 (-4.09 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(ushort,System.IO.TextWriter) (FullOpts)
         -38 (-4.08 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[short](short,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -20 (-4.08 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(short):this (FullOpts) (2 methods)
         -29 (-4.03 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[byte](byte,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -22 (-3.98 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[short](int,short):System.Text.StringBuilder:this (FullOpts)
         -16 (-3.91 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(byte):this (FullOpts)
         -27 (-3.90 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[byte](byte,System.String):bool:this (FullOpts)
         -17 (-3.87 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[byte](byte,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -92 (-3.83 % of base) : Asp.Versioning.Abstractions.dasm - Asp.Versioning.ApiVersionFormatProvider:FormatVersionWithoutPadding(System.Text.StringBuilder,Asp.Versioning.ApiVersion,byref,System.IFormatProvider) (FullOpts)
         -18 (-3.78 % of base) : Markdig.dasm - Markdig.Renderers.HtmlRenderer:<WriteEscapeUrlCore>g__WriteEscapedUtf8Bytes|38_0(Markdig.Renderers.HtmlRenderer,System.ReadOnlySpan`1[char],char,int):int (FullOpts)
         -20 (-3.77 % of base) : HotChocolate.Types.CursorPagination.dasm - HotChocolate.Types.Pagination.IndexEdge`1[System.__Canon]:Create(System.__Canon,int):HotChocolate.Types.Pagination.IndexEdge`1[System.__Canon] (FullOpts)
         -57 (-3.76 % of base) : System.Net.Security.dasm - Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle (FullOpts)
         -16 (-3.76 % of base) : System.Private.CoreLib.dasm - System.Text.StringBuilder:InsertSpanFormattable[byte](int,byte):System.Text.StringBuilder:this (FullOpts)
         -33 (-3.73 % of base) : Microsoft.Extensions.Logging.Console.dasm - Microsoft.Extensions.Logging.Console.SimpleConsoleFormatter:WriteInternal(Microsoft.Extensions.Logging.IExternalScopeProvider,System.IO.TextWriter,System.String,int,int,System.String,System.String,System.DateTimeOffset):this (FullOpts)
         -15 (-3.68 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(ushort):this (FullOpts)
         -21 (-3.66 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[int](int,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -25 (-3.63 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[byte](byte,System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -16 (-3.61 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[int](int):this (FullOpts)
         -21 (-3.60 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Converters.HalfConverter:WriteAsPropertyNameCore(System.Text.Json.Utf8JsonWriter,System.Half,System.Text.Json.JsonSerializerOptions,bool):this (FullOpts)
         -29 (-3.60 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[int](int,System.String):bool:this (FullOpts)
         -20 (-3.57 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(sbyte,System.IO.TextWriter) (FullOpts)
         -20 (-3.57 % of base) : Serilog.dasm - Serilog.Formatting.Json.JsonValueFormatter:FormatExactNumericValue(short,System.IO.TextWriter) (FullOpts)
         -23 (-3.50 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(ulong):this (FullOpts)
         -25 (-3.42 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[int](int,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -20 (-3.38 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[short](short,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -25 (-3.37 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[short](short,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -69 (-3.31 % of base) : Asp.Versioning.Abstractions.dasm - Asp.Versioning.ApiVersionFormatProvider:FormatAllParts(System.Text.StringBuilder,Asp.Versioning.ApiVersion,byref,System.IFormatProvider):this (FullOpts)
         -21 (-3.28 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Converters.HalfConverter:WriteCore(System.Text.Json.Utf8JsonWriter,System.Half) (FullOpts)
         -32 (-3.28 % of base) : MySqlConnector.dasm - MySqlConnector.Protocol.Serialization.AuthenticationUtility:HashPasswordWithNonce(System.ReadOnlySpan`1[byte],System.String):byte[] (FullOpts)
         -24 (-3.27 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.Format:MeasureDouble(double):int (FullOpts)
         -29 (-3.18 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[int](int,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -19 (-3.17 % of base) : System.Private.CoreLib.dasm - System.DateTimeFormat:FormatFraction[byte](byref,int,System.ReadOnlySpan`1[char]) (FullOpts)
         -26 (-3.14 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[long](long,System.String,System.IFormatProvider):System.String:this (FullOpts)
         -21 (-3.08 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(sbyte):this (FullOpts)
         -21 (-3.08 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(short):this (FullOpts)
         -23 (-2.90 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(double):this (FullOpts)
         -23 (-2.90 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(float):this (FullOpts)
         -25 (-2.87 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[System.Nullable`1[int]](System.Nullable`1[int],System.String):bool:this (FullOpts)
         -32 (-2.84 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[System.Nullable`1[int]](System.Nullable`1[int],System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -21 (-2.77 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(double):this (FullOpts)
         -21 (-2.77 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteNumberValueAsString(float):this (FullOpts)
         -20 (-2.76 % of base) : System.Private.CoreLib.dasm - System.Globalization.TextInfo:AddTitlecaseLetter(byref,byref,int,int):int:this (FullOpts)
         -14 (-2.71 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(long):this (FullOpts)
         -12 (-2.70 % of base) : System.ClientModel.dasm - System.ClientModel.Primitives.JsonPatch+EncodedValue:.ctor(ulong):this (FullOpts)
         -18 (-2.68 % of base) : System.Net.Primitives.dasm - System.Net.SocketAddress:.ctor(System.Net.IPAddress):this (FullOpts)
         -15 (-2.68 % of base) : StackExchange.Redis.dasm - StackExchange.Redis.MessageWriter:WriteUnifiedUInt64(System.Buffers.IBufferWriter`1[byte],ulong) (FullOpts)
         -29 (-2.66 % of base) : MySqlConnector.dasm - MySqlConnector.Protocol.Serialization.AuthenticationUtility:CreateResponseAndPasswordHash(System.String,System.ReadOnlySpan`1[byte],byref,byref) (FullOpts)
         -13 (-2.65 % of base) : System.Diagnostics.TextWriterTraceListener.dasm - System.Diagnostics.XmlWriterTraceListener:InternalWrite[long](long):this (FullOpts)
         -10 (-2.65 % of base) : System.Net.Security.dasm - Interop+Ssl:GetDefaultSignatureAlgorithms():ushort[] (FullOpts)
         -33 (-2.62 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[System.Nullable`1[int]](System.Nullable`1[int],System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -12 (-2.61 % of base) : System.Net.WebSockets.Client.dasm - System.Net.WebSockets.WebSocketHandle:CreateSecKeyAndSecWebSocketAccept():System.Collections.Generic.KeyValuePair`2[System.String,System.String] (FullOpts)
         -16 (-2.59 % of base) : System.Net.Ping.dasm - System.Net.NetworkInformation.Ping:CreatePingReplyForUnreachableHost(System.Net.IPAddress,System.Net.Sockets.Socket):System.Net.NetworkInformation.PingReply (FullOpts)
         -23 (-2.50 % of base) : HotChocolate.Types.dasm - HotChocolate.Text.Json.ResultElement:SetNumberValue(float):this (FullOpts)
         -22 (-2.49 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:TryRedact[int](int,System.Span`1[char],byref,System.ReadOnlySpan`1[char],System.IFormatProvider):bool:this (FullOpts)
         -16 (-2.49 % of base) : System.Net.Sockets.dasm - System.Net.Sockets.Socket:get_LocalEndPoint():System.Net.EndPoint:this (FullOpts)
         -20 (-2.43 % of base) : System.Private.CoreLib.dasm - System.Text.Unicode.Utf8+TryWriteInterpolatedStringHandler:AppendSpanFormattable[short](short,System.String):bool:this (FullOpts)
         -20 (-2.37 % of base) : System.Security.Cryptography.dasm - System.Security.Cryptography.CryptographicOperations:VerifyHmac(System.Security.Cryptography.HashAlgorithmName,System.ReadOnlySpan`1[byte],System.ReadOnlySpan`1[byte],System.ReadOnlySpan`1[byte]):bool (FullOpts)
         -14 (-2.36 % of base) : Serilog.dasm - Serilog.Events.ScalarValue:TryWriteSpanFormattable[long](long,System.IO.TextWriter,System.String,System.IFormatProvider):bool (FullOpts)
         -15 (-2.31 % of base) : Microsoft.Extensions.Compliance.Abstractions.dasm - Microsoft.Extensions.Compliance.Redaction.Redactor:Redact[long](long,System.Span`1[char],System.String,System.IFormatProvider):int:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[byte]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[int]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[long]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[short]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[System.Nullable`1[int]]:MoveNext():bool:this (FullOpts)
         -79 (-2.28 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[double]:MoveNext():bool:this (FullOpts)
         -79 (-2.27 % of base) : System.Private.CoreLib.dasm - System.IO.Enumeration.FileSystemEnumerator`1[System.__Canon]:MoveNext():bool:this (FullOpts)

155 total methods with Code Size differences (151 improved, 4 regressed), 1838381 unchanged.

--------------------------------------------------------------------------------

Artifacts:

Activity

  1. MihuBot commented on Jun 17, 2026

    @MihuBot
    OwnerAuthor

    Top method regressions

    Note: some changes were skipped as they were too large to fit into a comment.

    Larger list of diffs: https://gist.github.com/MihuBot/32784226bcedeaf37db0987e491ac978

  2. MihuBot commented on Jun 17, 2026

    @MihuBot
    OwnerAuthor

    Top method improvements

    -57 (-3.76 % of base) - Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle
     ; Assembly listing for method Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; fully interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 49 single block inlinees; 10 inlinees without PGO data
     ; Final local variable assignments
     ;
     ;  V00 arg0         [V00,T00] ( 18, 12.50)     ref  ->  rbx         class-hnd single-def <System.Net.Security.SslAuthenticationOptions>
     ;  V01 arg1         [V01,T02] (  5,  5   )     int  ->  r15         single-def
     ;  V02 arg2         [V02,T03] (  3,  3   )   ubyte  ->  r14         single-def
    -;  V03 loc0         [V03,T01] ( 20, 12   )     ref  ->  [rbp-0xA0]  class-hnd exact EH-live spill-single-def ptr <Microsoft.Win32.SafeHandles.SafeSslContextHandle>
    +;  V03 loc0         [V03,T01] ( 20, 12   )     ref  ->  [rbp-0x98]  class-hnd exact EH-live spill-single-def ptr <Microsoft.Win32.SafeHandles.SafeSslContextHandle>
     ;* V04 loc1         [V04    ] (  0,  0   )  struct (16) zero-ref    multireg-ret multireg-dest ld-addr-op <System.ReadOnlySpan`1[byte]>
     ;  V05 loc2         [V05,T04] (  5,  4   )     ref  ->  rax         class-hnd single-def <byte[]>
     ;* V06 loc3         [V06    ] (  0,  0   )    long  ->  zero-ref    ptr
     ;  V07 loc4         [V07    ] (  3,  2   )   byref  ->  [rbp-0x58]  do-not-enreg[] must-init pinned ptr
    -;  V08 loc5         [V08,T12] (  3,  2   )    long  ->  rdx        
    +;  V08 loc5         [V08,T11] (  3,  2   )    long  ->  rdx        
     ;  V09 loc6         [V09    ] (  3,  2   )     ref  ->  [rbp-0x60]  do-not-enreg[] must-init pinned class-hnd ptr <byte[]>
     ;* V10 loc7         [V10    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op <System.Span`1[byte]>
     ;* V11 loc8         [V11    ] (  0,  0   )     int  ->  zero-ref   
     ;* V12 loc9         [V12    ] (  0,  0   )     int  ->  zero-ref   
     ;  V13 OutArgs      [V13    ] (  1,  1   )  struct ( 8) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <UNNAMED>
     ;* V14 tmp1         [V14    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact "impAppendStmt" <System.Net.Security.CipherSuitesPolicy>
     ;* V15 tmp2         [V15    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact "impAppendStmt" <System.Net.Security.CipherSuitesPolicy>
     ;* V16 tmp3         [V16    ] (  0,  0   )  struct (16) zero-ref    "spilled call-like call argument" <System.Span`1[byte]>
     ;* V17 tmp4         [V17    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact "impAppendStmt" <Microsoft.Win32.SafeHandles.SafeX509Handle>
     ;* V18 tmp5         [V18    ] (  0,  0   )     int  ->  zero-ref   
     ;* V19 tmp6         [V19    ] (  0,  0   )  struct (16) zero-ref    "spilled call-like call argument" <System.Span`1[byte]>
     ;  V20 tmp7         [V20    ] (  1,  0.50)  struct (32) [rbp-0x50]  do-not-enreg[XS] addr-exposed ld-addr-op unsafe-buffer "stackallocLocal" <UNNAMED>
     ;* V21 tmp8         [V21    ] (  0,  0   )  struct (16) zero-ref    multireg-arg ld-addr-op "NewObj constructor temp" <System.Span`1[byte]>
     ;* V22 tmp9         [V22    ] (  0,  0   )     int  ->  zero-ref   
     ;  V23 tmp10        [V23,T26] (  2,  0   )     ref  ->  r15         class-hnd exact single-def "impAppendStmt" <System.String>
     ;  V24 tmp11        [V24,T23] (  3,  0   )     ref  ->  r14         class-hnd exact single-def "Single-def Box Helper" <System.Net.Security.EncryptionPolicy>
     ;  V25 tmp12        [V25,T24] (  3,  0   )     ref  ->  rbx         class-hnd exact single-def "NewObj constructor temp" <System.PlatformNotSupportedException>
     ;  V26 tmp13        [V26,T27] (  2,  0   )     ref  ->  r15         class-hnd exact single-def "impAppendStmt" <System.String>
     ;  V27 tmp14        [V27,T25] (  3,  0   )     ref  ->  r14         class-hnd exact single-def "Single-def Box Helper" <System.Net.Security.EncryptionPolicy>
     ;  V28 tmp15        [V28,T22] (  4,  0   )     ref  ->  rbx         class-hnd exact single-def "NewObj constructor temp" <Interop+OpenSsl+SslException>
     ;* V29 tmp16        [V29    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "impSpillSpecialSideEff" <System.Object>
     ;  V30 tmp17        [V30,T28] (  2,  0   )     ref  ->  r15         class-hnd exact single-def "Inlining Arg" <System.String>
     ;* V31 tmp18        [V31    ] (  0,  0   )   byref  ->  zero-ref    "Inline return value spill temp"
     ;  V32 tmp19        [V32,T10] (  3,  3   )   byref  ->  rsi         "Inline stloc first use temp"
     ;* V33 tmp20        [V33    ] (  0,  0   )  struct (16) zero-ref    "Inlining Arg" <System.Span`1[byte]>
     ;* V34 tmp21        [V34    ] (  0,  0   )     int  ->  zero-ref    "Inline return value spill temp"
     ;* V35 tmp22        [V35    ] (  0,  0   )     int  ->  zero-ref    "Inline stloc first use temp"
     ;  V36 tmp23        [V36    ] (  8,  3   )  struct (16) [rbp-0x70]  do-not-enreg[XS] must-init addr-exposed ld-addr-op "Inline ldloca(s) first use temp" <System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller`1+ManagedToUnmanagedIn[Microsoft.Win32.SafeHandles.SafeSslContextHandle]>
     ;* V37 tmp24        [V37    ] (  0,  0   )  struct (16) zero-ref    "Inlining Arg" <System.Span`1[byte]>
    -;  V38 tmp25        [V38    ] (  3,  1   )   byref  ->  [rbp-0x78]  do-not-enreg[] must-init pinned "Inline stloc first use temp"
    +;* V38 tmp25        [V38    ] (  0,  0   )   byref  ->  zero-ref    "Inline stloc first use temp"
     ;* V39 tmp26        [V39    ] (  0,  0   )    long  ->  zero-ref    "Inline stloc first use temp"
     ;* V40 tmp27        [V40    ] (  0,  0   )     int  ->  zero-ref    "Inlining Arg"
     ;* V41 tmp28        [V41    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op "Inlining Arg" <System.Span`1[byte]>
    -;  V42 tmp29        [V42,T13] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
    +;  V42 tmp29        [V42,T12] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
     ;  V43 tmp30        [V43,T06] (  6,  3   )     ref  ->  rdi         class-hnd "Inlining Arg" <System.__Canon>
     ;* V44 tmp31        [V44    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op "NewObj constructor temp" <System.Span`1[byte]>
     ;* V45 tmp32        [V45    ] (  0,  0   )     int  ->  zero-ref    "Inline return value spill temp"
     ;* V46 tmp33        [V46    ] (  0,  0   )     int  ->  zero-ref    "Inline stloc first use temp"
    -;  V47 tmp34        [V47    ] (  8,  3   )  struct (16) [rbp-0x88]  do-not-enreg[XS] must-init addr-exposed ld-addr-op "Inline ldloca(s) first use temp" <System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller`1+ManagedToUnmanagedIn[Microsoft.Win32.SafeHandles.SafeSslContextHandle]>
    +;  V47 tmp34        [V47    ] (  8,  3   )  struct (16) [rbp-0x80]  do-not-enreg[XS] must-init addr-exposed ld-addr-op "Inline ldloca(s) first use temp" <System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller`1+ManagedToUnmanagedIn[Microsoft.Win32.SafeHandles.SafeSslContextHandle]>
     ;* V48 tmp35        [V48    ] (  0,  0   )   byref  ->  zero-ref    "Inline stloc first use temp"
     ;* V49 tmp36        [V49    ] (  0,  0   )    long  ->  zero-ref    "Inline stloc first use temp"
     ;* V50 tmp37        [V50    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op "Inlining Arg" <System.Span`1[byte]>
    -;  V51 tmp38        [V51,T14] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
    +;  V51 tmp38        [V51,T13] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
     ;  V52 tmp39        [V52,T07] (  6,  3   )     ref  ->  rdi         class-hnd "Inlining Arg" <System.__Canon>
     ;* V53 tmp40        [V53    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op "NewObj constructor temp" <System.Span`1[byte]>
     ;* V54 tmp41        [V54    ] (  0,  0   )     int  ->  zero-ref    "Inline return value spill temp"
     ;* V55 tmp42        [V55    ] (  0,  0   )     int  ->  zero-ref    "Inline stloc first use temp"
    -;  V56 tmp43        [V56    ] (  8,  3   )  struct (16) [rbp-0x98]  do-not-enreg[XS] must-init addr-exposed ld-addr-op "Inline ldloca(s) first use temp" <System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller`1+ManagedToUnmanagedIn[Microsoft.Win32.SafeHandles.SafeSslContextHandle]>
    +;  V56 tmp43        [V56    ] (  8,  3   )  struct (16) [rbp-0x90]  do-not-enreg[XS] must-init addr-exposed ld-addr-op "Inline ldloca(s) first use temp" <System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller`1+ManagedToUnmanagedIn[Microsoft.Win32.SafeHandles.SafeSslContextHandle]>
     ;* V57 tmp44        [V57    ] (  0,  0   )   byref  ->  zero-ref    "Inline stloc first use temp"
     ;* V58 tmp45        [V58    ] (  0,  0   )    long  ->  zero-ref    "Inline stloc first use temp"
     ;* V59 tmp46        [V59    ] (  0,  0   )  struct (16) zero-ref    ld-addr-op "Inlining Arg" <System.Span`1[byte]>
    -;  V60 tmp47        [V60,T15] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
    +;  V60 tmp47        [V60,T14] (  2,  2   )     ref  ->  rdi         class-hnd single-def "Inlining Arg" <System.__Canon>
     ;  V61 tmp48        [V61,T08] (  6,  3   )     ref  ->  rdi         class-hnd "Inlining Arg" <System.__Canon>
     ;* V62 tmp49        [V62    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inlining Arg" <System.Collections.Generic.List`1[System.Net.Security.SslApplicationProtocol]>
     ;* V63 tmp50        [V63    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inlining Arg" <System.Net.Security.SslStreamCertificateContext>
     ;* V64 tmp51        [V64    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inlining Arg" <System.Collections.ObjectModel.ReadOnlyCollection`1[System.Security.Cryptography.X509Certificates.X509Certificate2]>
     ;* V65 tmp52        [V65    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inlining Arg" <System.Net.Security.SslStreamCertificateContext>
     ;* V66 tmp53        [V66    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inlining Arg" <System.Net.Security.SslStreamCertificateContext>
    -;  V67 tmp54        [V67,T16] (  2,  2   )   byref  ->  r13         "field V04._reference (fldOffset=0x0)" P-INDEP
    -;  V68 tmp55        [V68,T17] (  2,  2   )     int  ->  r12         "field V04._length (fldOffset=0x8)" P-INDEP
    +;  V67 tmp54        [V67,T15] (  2,  2   )   byref  ->  r13         "field V04._reference (fldOffset=0x0)" P-INDEP
    +;  V68 tmp55        [V68,T16] (  2,  2   )     int  ->  r12         "field V04._length (fldOffset=0x8)" P-INDEP
     ;* V69 tmp56        [V69    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V10._reference (fldOffset=0x0)" P-INDEP
     ;* V70 tmp57        [V70    ] (  0,  0   )     int  ->  zero-ref    "field V10._length (fldOffset=0x8)" P-INDEP
     ;* V71 tmp58        [V71    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V16._reference (fldOffset=0x0)" P-INDEP
     ;* V72 tmp59        [V72    ] (  0,  0   )     int  ->  zero-ref    "field V16._length (fldOffset=0x8)" P-INDEP
     ;* V73 tmp60        [V73    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V19._reference (fldOffset=0x0)" P-INDEP
     ;* V74 tmp61        [V74    ] (  0,  0   )     int  ->  zero-ref    "field V19._length (fldOffset=0x8)" P-INDEP
    -;  V75 tmp62        [V75,T11] (  4,  2   )   byref  ->  r15         single-def "field V21._reference (fldOffset=0x0)" P-INDEP
    +;  V75 tmp62        [V75,T19] (  3,  1.50)   byref  ->  r15         single-def "field V21._reference (fldOffset=0x0)" P-INDEP
     ;* V76 tmp63        [V76    ] (  0,  0   )     int  ->  zero-ref    "field V21._length (fldOffset=0x8)" P-INDEP
     ;* V77 tmp64        [V77    ] (  0,  0   )   byref  ->  zero-ref    "field V33._reference (fldOffset=0x0)" P-INDEP
     ;* V78 tmp65        [V78    ] (  0,  0   )     int  ->  zero-ref    "field V33._length (fldOffset=0x8)" P-INDEP
     ;  V79 tmp66        [V79    ] (  5,  2   )     ref  ->  [rbp-0x70]  do-not-enreg[X] addr-exposed ptr "field V36._handle (fldOffset=0x0)" P-DEP
     ;  V80 tmp67        [V80    ] (  4,  1.50)   ubyte  ->  [rbp-0x68]  do-not-enreg[X] addr-exposed "field V36._addRefd (fldOffset=0x8)" P-DEP
     ;* V81 tmp68        [V81    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V37._reference (fldOffset=0x0)" P-INDEP
     ;* V82 tmp69        [V82    ] (  0,  0   )     int  ->  zero-ref    "field V37._length (fldOffset=0x8)" P-INDEP
     ;* V83 tmp70        [V83    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V41._reference (fldOffset=0x0)" P-INDEP
     ;* V84 tmp71        [V84    ] (  0,  0   )     int  ->  zero-ref    "field V41._length (fldOffset=0x8)" P-INDEP
     ;* V85 tmp72        [V85    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V44._reference (fldOffset=0x0)" P-INDEP
     ;* V86 tmp73        [V86    ] (  0,  0   )     int  ->  zero-ref    "field V44._length (fldOffset=0x8)" P-INDEP
    -;  V87 tmp74        [V87    ] (  5,  2   )     ref  ->  [rbp-0x88]  do-not-enreg[X] addr-exposed ptr "field V47._handle (fldOffset=0x0)" P-DEP
    -;  V88 tmp75        [V88    ] (  4,  1.50)   ubyte  ->  [rbp-0x80]  do-not-enreg[X] addr-exposed "field V47._addRefd (fldOffset=0x8)" P-DEP
    +;  V87 tmp74        [V87    ] (  5,  2   )     ref  ->  [rbp-0x80]  do-not-enreg[X] addr-exposed ptr "field V47._handle (fldOffset=0x0)" P-DEP
    +;  V88 tmp75        [V88    ] (  4,  1.50)   ubyte  ->  [rbp-0x78]  do-not-enreg[X] addr-exposed "field V47._addRefd (fldOffset=0x8)" P-DEP
     ;* V89 tmp76        [V89    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V50._reference (fldOffset=0x0)" P-INDEP
     ;* V90 tmp77        [V90    ] (  0,  0   )     int  ->  zero-ref    "field V50._length (fldOffset=0x8)" P-INDEP
     ;* V91 tmp78        [V91    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V53._reference (fldOffset=0x0)" P-INDEP
     ;* V92 tmp79        [V92    ] (  0,  0   )     int  ->  zero-ref    "field V53._length (fldOffset=0x8)" P-INDEP
    -;  V93 tmp80        [V93    ] (  5,  2   )     ref  ->  [rbp-0x98]  do-not-enreg[X] addr-exposed ptr "field V56._handle (fldOffset=0x0)" P-DEP
    -;  V94 tmp81        [V94    ] (  4,  1.50)   ubyte  ->  [rbp-0x90]  do-not-enreg[X] addr-exposed "field V56._addRefd (fldOffset=0x8)" P-DEP
    +;  V93 tmp80        [V93    ] (  5,  2   )     ref  ->  [rbp-0x90]  do-not-enreg[X] addr-exposed ptr "field V56._handle (fldOffset=0x0)" P-DEP
    +;  V94 tmp81        [V94    ] (  4,  1.50)   ubyte  ->  [rbp-0x88]  do-not-enreg[X] addr-exposed "field V56._addRefd (fldOffset=0x8)" P-DEP
     ;* V95 tmp82        [V95    ] (  0,  0   )   byref  ->  zero-ref    single-def "field V59._reference (fldOffset=0x0)" P-INDEP
     ;* V96 tmp83        [V96    ] (  0,  0   )     int  ->  zero-ref    "field V59._length (fldOffset=0x8)" P-INDEP
     ;  V97 tmp84        [V97,T05] (  2,  4   )    long  ->  rsi         "Cast away GC"
    -;  V98 tmp85        [V98,T18] (  2,  2   )    long  ->  rdx         "Cast away GC"
    +;  V98 tmp85        [V98,T17] (  2,  2   )    long  ->  rdx         "Cast away GC"
     ;* V99 tmp86        [V99    ] (  0,  0   )    long  ->  zero-ref    "Cast away GC"
     ;* V100 tmp87       [V100    ] (  0,  0   )    long  ->  zero-ref    "Cast away GC"
    -;  V101 tmp88       [V101,T19] (  2,  2   )    long  ->   r8         "Cast away GC"
    +;  V101 tmp88       [V101,T18] (  2,  2   )    long  ->   r8         "Cast away GC"
     ;  V102 tmp89       [V102,T29] (  2,  0   )     ref  ->  rsi         single-def "argument with side effect"
     ;  V103 cse0        [V103,T09] (  4,  3   )     ref  ->  rsi         "CSE #05: moderate"
     ;  V104 cse1        [V104,T20] (  3,  1.50)     ref  ->  rdi         "CSE #04: moderate"
     ;  V105 cse2        [V105,T21] (  2,  1   )     int  ->  rdi         "CSE #02: moderate"
     ;  V106 rat0        [V106    ] (  1,  1   )    long  ->  [rbp-0x30]  do-not-enreg[X] addr-exposed "GSSecurityCookie"
     ;
    -; Lcl frame size = 136
    +; Lcl frame size = 120
     
     G_M62805_IG01:
            push     rbp
            push     r15
            push     r14
            push     r13
            push     r12
            push     rbx
    -       sub      rsp, 136
    +       sub      rsp, 120
            vzeroupper 
    -       lea      rbp, [rsp+0xB0]
    -       xor      eax, eax
    -       mov      qword ptr [rbp-0x98], rax
    +       lea      rbp, [rsp+0xA0]
            vxorps   xmm8, xmm8, xmm8
            vmovdqu32 zmmword ptr [rbp-0x90], zmm8
            mov      rax, 0xD1FFAB1E
            mov      qword ptr [rbp-0x30], rax
            mov      rbx, rdi
            mov      r15d, esi
            mov      r14d, edx
    -						;; size=75 bbWeight=1 PerfScore 13.33
    +						;; size=63 bbWeight=1 PerfScore 12.08
     G_M62805_IG02:
            mov      rdi, 0xD1FFAB1E
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxCreate(nint):Microsoft.Win32.SafeHandles.SafeSslContextHandle
            call     [rax]Interop+Ssl:SslCtxCreate(nint):Microsoft.Win32.SafeHandles.SafeSslContextHandle
            mov      rdi, rax
    -       mov      gword ptr [rbp-0xA0], rdi
    +       mov      gword ptr [rbp-0x98], rdi
     						;; size=32 bbWeight=1 PerfScore 4.75
     G_M62805_IG03:
            cmp      qword ptr [rdi+0x08], 0
    -       je       G_M62805_IG32
    +       je       G_M62805_IG30
            mov      rsi, 0xD1FFAB1E      ; code for Interop+OpenSsl:CertVerifyCallback(nint,nint):int
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetCertVerifyCallback(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr)
            call     [rax]Interop+Ssl:SslCtxSetCertVerifyCallback(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr)
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      esi, r15d
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetProtocolOptions(Microsoft.Win32.SafeHandles.SafeSslContextHandle,int)
            call     [rax]Interop+Ssl:SslCtxSetProtocolOptions(Microsoft.Win32.SafeHandles.SafeSslContextHandle,int)
            cmp      dword ptr [rbx+0x70], 0
            je       SHORT G_M62805_IG05
     						;; size=61 bbWeight=1 PerfScore 14.00
     G_M62805_IG04:
            mov      esi, dword ptr [rbx+0x70]
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SetEncryptionPolicy(Microsoft.Win32.SafeHandles.SafeSslContextHandle,int):bool
            call     [rax]Interop+Ssl:SetEncryptionPolicy(Microsoft.Win32.SafeHandles.SafeSslContextHandle,int):bool
            test     eax, eax
    -       je       G_M62805_IG33
    +       je       G_M62805_IG31
     						;; size=30 bbWeight=0.50 PerfScore 3.75
     G_M62805_IG05:
            mov      rdi, gword ptr [rbx+0x40]
            mov      edx, dword ptr [rbx+0x70]
            mov      esi, r15d
            mov      rax, 0xD1FFAB1E      ; code for System.Net.Security.CipherSuitesPolicyPal:GetOpenSslCipherList(System.Net.Security.CipherSuitesPolicy,int,int):System.ReadOnlySpan`1[byte]
            call     [rax]System.Net.Security.CipherSuitesPolicyPal:GetOpenSslCipherList(System.Net.Security.CipherSuitesPolicy,int,int):System.ReadOnlySpan`1[byte]
            mov      r13, rax
            mov      r12d, edx
            mov      rdi, gword ptr [rbx+0x40]
            mov      edx, dword ptr [rbx+0x70]
            mov      esi, r15d
            mov      rax, 0xD1FFAB1E      ; code for System.Net.Security.CipherSuitesPolicyPal:GetOpenSslCipherSuites(System.Net.Security.CipherSuitesPolicy,int,int):byte[]
            call     [rax]System.Net.Security.CipherSuitesPolicyPal:GetOpenSslCipherSuites(System.Net.Security.CipherSuitesPolicy,int,int):byte[]
            nop      
     						;; size=51 bbWeight=1 PerfScore 15.75
     G_M62805_IG06:
            xor      rsi, rsi
            test     r12d, r12d
            cmovne   rsi, r13
            mov      bword ptr [rbp-0x58], rsi
     						;; size=13 bbWeight=1 PerfScore 2.00
     G_M62805_IG07:
            mov      gword ptr [rbp-0x60], rax
            test     rax, rax
            je       SHORT G_M62805_IG09
     						;; size=9 bbWeight=1 PerfScore 2.25
     G_M62805_IG08:
            mov      edi, dword ptr [rax+0x08]
            test     edi, edi
            je       SHORT G_M62805_IG09
            add      rax, 16
            mov      rdx, rax
            jmp      SHORT G_M62805_IG10
     						;; size=16 bbWeight=0.50 PerfScore 2.88
     G_M62805_IG09:
            xor      edx, edx
     						;; size=2 bbWeight=0.50 PerfScore 0.12
     G_M62805_IG10:
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetCiphers(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr,ptr):bool
            call     [rax]Interop+Ssl:SslCtxSetCiphers(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr,ptr):bool
            test     eax, eax
            jne      SHORT G_M62805_IG12
     						;; size=23 bbWeight=1 PerfScore 5.50
     G_M62805_IG11:
            call     Interop+Crypto:ErrClearError():ulong
            mov      rax, 0xD1FFAB1E      ; code for System.SR:get_net_ssl_encryptionpolicy_notsupported():System.String
            call     [rax]System.SR:get_net_ssl_encryptionpolicy_notsupported():System.String
            mov      r15, rax
            mov      rdi, 0xD1FFAB1E      ; System.Net.Security.EncryptionPolicy
            call     CORINFO_HELP_NEWSFAST
            mov      r14, rax
            mov      edi, dword ptr [rbx+0x70]
            mov      dword ptr [r14+0x08], edi
            mov      rdi, 0xD1FFAB1E      ; System.PlatformNotSupportedException
            call     CORINFO_HELP_NEWSFAST
            mov      rbx, rax
            mov      rsi, r14
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for System.SR:Format(System.String,System.Object):System.String
            call     [rax]System.SR:Format(System.String,System.Object):System.String
            mov      rsi, rax
            mov      rdi, rbx
            mov      rax, 0xD1FFAB1E      ; code for System.PlatformNotSupportedException:.ctor(System.String):this
            call     [rax]System.PlatformNotSupportedException:.ctor(System.String):this
            mov      rdi, rbx
            call     CORINFO_HELP_THROW
            int3     
     						;; size=108 bbWeight=0 PerfScore 0.00
     G_M62805_IG12:
            xor      rdi, rdi
            mov      gword ptr [rbp-0x60], rdi
     						;; size=6 bbWeight=1 PerfScore 1.25
     G_M62805_IG13:
            xor      edi, edi
            mov      bword ptr [rbp-0x58], rdi
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetQuietShutdown(Microsoft.Win32.SafeHandles.SafeSslContextHandle)
            call     [rax]Interop+Ssl:SslCtxSetQuietShutdown(Microsoft.Win32.SafeHandles.SafeSslContextHandle)
            test     r14b, r14b
            jne      SHORT G_M62805_IG18
     						;; size=30 bbWeight=1 PerfScore 6.75
     G_M62805_IG14:
            vxorps   xmm0, xmm0, xmm0
    -       vmovdqu  xmmword ptr [rbp-0x98], xmm0
    -						;; size=12 bbWeight=0.50 PerfScore 0.67
    +       vmovdqu32 xmmword ptr [rbp-0x90], xmm0
    +						;; size=11 bbWeight=0.50 PerfScore 0.67
     G_M62805_IG15:
    -       mov      rdi, gword ptr [rbp-0xA0]
    -       mov      gword ptr [rbp-0x98], rdi
    -       lea      rsi, [rbp-0x90]
    +       mov      rdi, gword ptr [rbp-0x98]
    +       mov      gword ptr [rbp-0x90], rdi
    +       lea      rsi, [rbp-0x88]
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
    -       mov      rdi, gword ptr [rbp-0x98]
    +       mov      rdi, gword ptr [rbp-0x90]
            xor      esi, esi
            mov      qword ptr [rsp], rsi
            mov      rdi, qword ptr [rdi+0x08]
     						;; size=50 bbWeight=0.50 PerfScore 5.00
     G_M62805_IG16:
            mov      edx, -1
            xor      ecx, ecx
            xor      r8d, r8d
            xor      r9d, r9d
            call     Interop+Ssl:<SslCtxSetCaching>g____PInvoke|95_0(nint,int,int,int,ptr,ptr,ptr):int
            nop      
     						;; size=19 bbWeight=0.50 PerfScore 1.12
     G_M62805_IG17:
    -       cmp      byte  ptr [rbp-0x90], 0
    -       je       G_M62805_IG27
    -       mov      rdi, gword ptr [rbp-0x98]
    +       cmp      byte  ptr [rbp-0x88], 0
    +       je       G_M62805_IG25
    +       mov      rdi, gword ptr [rbp-0x90]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
    -       jmp      G_M62805_IG27
    +       jmp      G_M62805_IG25
     						;; size=42 bbWeight=0.50 PerfScore 5.25
     G_M62805_IG18:
            cmp      byte  ptr [rbx+0x75], 0
            jne      G_M62805_IG22
            vxorps   xmm0, xmm0, xmm0
    -       vmovdqu  xmmword ptr [rbp-0x88], xmm0
    -						;; size=22 bbWeight=0.50 PerfScore 2.17
    +       vmovdqu  xmmword ptr [rbp-0x80], xmm0
    +						;; size=19 bbWeight=0.50 PerfScore 2.17
     G_M62805_IG19:
    -       mov      rdi, gword ptr [rbp-0xA0]
    -       mov      gword ptr [rbp-0x88], rdi
    -       lea      rsi, [rbp-0x80]
    +       mov      rdi, gword ptr [rbp-0x98]
    +       mov      gword ptr [rbp-0x80], rdi
    +       lea      rsi, [rbp-0x78]
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
    -       mov      rdi, gword ptr [rbp-0x88]
    +       mov      rdi, gword ptr [rbp-0x80]
            mov      rsi, 0xD1FFAB1E      ; code for Interop+OpenSsl:RemoveSessionCallback(nint,nint)
            mov      qword ptr [rsp], rsi
            mov      rdi, qword ptr [rdi+0x08]
            mov      esi, 1
            mov      edx, 500
            xor      ecx, ecx
            xor      r8d, r8d
            mov      r9, 0xD1FFAB1E      ; code for Interop+OpenSsl:NewSessionCallback(nint,nint):int
            call     Interop+Ssl:<SslCtxSetCaching>g____PInvoke|95_0(nint,int,int,int,ptr,ptr,ptr):int
            nop      
    -						;; size=86 bbWeight=0.50 PerfScore 6.25
    +						;; size=80 bbWeight=0.50 PerfScore 6.25
     G_M62805_IG20:
    -       cmp      byte  ptr [rbp-0x80], 0
    +       cmp      byte  ptr [rbp-0x78], 0
            je       SHORT G_M62805_IG21
    -       mov      rdi, gword ptr [rbp-0x88]
    +       mov      rdi, gword ptr [rbp-0x80]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
    -						;; size=30 bbWeight=0.50 PerfScore 4.25
    +						;; size=27 bbWeight=0.50 PerfScore 4.25
     G_M62805_IG21:
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Microsoft.Win32.SafeHandles.SafeSslContextHandle:EnableSessionCache():this
            call     [rax]Microsoft.Win32.SafeHandles.SafeSslContextHandle:EnableSessionCache():this
    -       jmp      G_M62805_IG27
    +       jmp      G_M62805_IG25
     						;; size=24 bbWeight=0.50 PerfScore 3.12
     G_M62805_IG22:
            lea      r15, [rbp-0x50]
            mov      rdi, r15
            mov      esi, 32
            mov      rax, 0xD1FFAB1E      ; code for System.Security.Cryptography.RandomNumberGeneratorImplementation:FillSpan(System.Span`1[byte])
            call     [rax]System.Security.Cryptography.RandomNumberGeneratorImplementation:FillSpan(System.Span`1[byte])
            vxorps   xmm0, xmm0, xmm0
            vmovdqu  xmmword ptr [rbp-0x70], xmm0
     						;; size=33 bbWeight=0.50 PerfScore 2.79
     G_M62805_IG23:
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      gword ptr [rbp-0x70], rdi
            lea      rsi, [rbp-0x68]
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:DangerousAddRef(byref):this
    -       nop      
    -						;; size=28 bbWeight=0.50 PerfScore 3.00
    -G_M62805_IG24:
    -       mov      bword ptr [rbp-0x78], r15
            mov      r8, r15
            mov      rdi, gword ptr [rbp-0x70]
            xor      esi, esi
            mov      qword ptr [rsp], rsi
            mov      rdi, qword ptr [rdi+0x08]
            mov      esi, 1
            mov      edx, -1
            mov      ecx, 32
            xor      r9d, r9d
            call     Interop+Ssl:<SslCtxSetCaching>g____PInvoke|95_0(nint,int,int,int,ptr,ptr,ptr):int
            nop      
    -						;; size=45 bbWeight=0.50 PerfScore 3.88
    -G_M62805_IG25:
    -       xor      edi, edi
    -       mov      bword ptr [rbp-0x78], rdi
    -						;; size=6 bbWeight=0.50 PerfScore 0.62
    -G_M62805_IG26:
    +						;; size=68 bbWeight=0.50 PerfScore 6.25
    +G_M62805_IG24:
            cmp      byte  ptr [rbp-0x68], 0
    -       je       SHORT G_M62805_IG27
    +       je       SHORT G_M62805_IG25
            mov      rdi, gword ptr [rbp-0x70]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
     						;; size=27 bbWeight=0.50 PerfScore 4.25
    -G_M62805_IG27:
    +G_M62805_IG25:
            cmp      byte  ptr [rbx+0x75], 0
    -       je       SHORT G_M62805_IG29
    +       je       SHORT G_M62805_IG27
     						;; size=6 bbWeight=1 PerfScore 3.00
    -G_M62805_IG28:
    +G_M62805_IG26:
            mov      rdi, gword ptr [rbx+0x18]
            test     rdi, rdi
    -       je       SHORT G_M62805_IG29
    +       je       SHORT G_M62805_IG27
            cmp      dword ptr [rdi+0x10], 0
    -       je       SHORT G_M62805_IG29
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       je       SHORT G_M62805_IG27
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rsi, 0xD1FFAB1E      ; code for Interop+OpenSsl:AlpnServerSelectCallback(nint,ptr,ptr,ptr,uint,nint):int
            xor      edx, edx
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetAlpnSelectCb(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr,nint)
            call     [rax]Interop+Ssl:SslCtxSetAlpnSelectCb(Microsoft.Win32.SafeHandles.SafeSslContextHandle,ptr,nint)
     						;; size=46 bbWeight=0.50 PerfScore 5.50
    -G_M62805_IG29:
    +G_M62805_IG27:
            mov      rsi, gword ptr [rbx+0x20]
            test     rsi, rsi
    -       je       G_M62805_IG35
    +       je       G_M62805_IG33
     						;; size=13 bbWeight=1 PerfScore 3.25
    -G_M62805_IG30:
    +G_M62805_IG28:
            cmp      byte  ptr [rbx+0x75], 0
    -       je       G_M62805_IG35
    +       je       G_M62805_IG33
            mov      rdx, gword ptr [rsi+0x28]
            mov      rsi, gword ptr [rsi+0x20]
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+OpenSsl:SetSslCertificate(Microsoft.Win32.SafeHandles.SafeSslContextHandle,Microsoft.Win32.SafeHandles.SafeX509Handle,System.Security.Cryptography.SafeEvpPKeyHandle)
            call     [rax]Interop+OpenSsl:SetSslCertificate(Microsoft.Win32.SafeHandles.SafeSslContextHandle,Microsoft.Win32.SafeHandles.SafeX509Handle,System.Security.Cryptography.SafeEvpPKeyHandle)
            mov      rdi, gword ptr [rbx+0x20]
            mov      rdi, gword ptr [rdi+0x18]
            mov      rdi, gword ptr [rdi+0x08]
            mov      r11, 0xD1FFAB1E      ; code for System.Collections.Generic.ICollection`1[System.__Canon]:get_Count():int:this
            call     [r11]System.Collections.Generic.ICollection`1[System.__Canon]:get_Count():int:this
            test     eax, eax
    -       jle      SHORT G_M62805_IG31
    +       jle      SHORT G_M62805_IG29
            mov      rsi, gword ptr [rbx+0x20]
            mov      rsi, gword ptr [rsi+0x18]
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:AddExtraChainCertificates(Microsoft.Win32.SafeHandles.SafeSslContextHandle,System.Collections.ObjectModel.ReadOnlyCollection`1[System.Security.Cryptography.X509Certificates.X509Certificate2]):bool
            call     [rax]Interop+Ssl:AddExtraChainCertificates(Microsoft.Win32.SafeHandles.SafeSslContextHandle,System.Collections.ObjectModel.ReadOnlyCollection`1[System.Security.Cryptography.X509Certificates.X509Certificate2]):bool
            test     eax, eax
    -       je       G_M62805_IG34
    +       je       G_M62805_IG32
     						;; size=101 bbWeight=0.50 PerfScore 15.62
    -G_M62805_IG31:
    +G_M62805_IG29:
            mov      rdi, gword ptr [rbx+0x20]
            cmp      gword ptr [rdi+0x50], 0
    -       je       G_M62805_IG35
    -       mov      rdi, gword ptr [rbp-0xA0]
    +       je       G_M62805_IG33
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for Interop+Ssl:SslCtxSetDefaultOcspCallback(Microsoft.Win32.SafeHandles.SafeSslContextHandle)
            call     [rax]Interop+Ssl:SslCtxSetDefaultOcspCallback(Microsoft.Win32.SafeHandles.SafeSslContextHandle)
    -       jmp      G_M62805_IG35
    +       jmp      G_M62805_IG33
     						;; size=39 bbWeight=0.50 PerfScore 5.62
    -G_M62805_IG32:
    +G_M62805_IG30:
            mov      rax, 0xD1FFAB1E      ; code for System.SR:get_net_allocate_ssl_context_failed():System.String
            call     [rax]System.SR:get_net_allocate_ssl_context_failed():System.String
            mov      rdi, rax
            mov      rax, 0xD1FFAB1E      ; code for Interop+OpenSsl:CreateSslException(System.String):Interop+OpenSsl+SslException
            call     [rax]Interop+OpenSsl:CreateSslException(System.String):Interop+OpenSsl+SslException
            mov      rdi, rax
            call     CORINFO_HELP_THROW
            int3     
     						;; size=36 bbWeight=0 PerfScore 0.00
    -G_M62805_IG33:
    +G_M62805_IG31:
            mov      rax, 0xD1FFAB1E      ; code for System.SR:get_net_ssl_encryptionpolicy_notsupported():System.String
            call     [rax]System.SR:get_net_ssl_encryptionpolicy_notsupported():System.String
            mov      r15, rax
            mov      rdi, 0xD1FFAB1E      ; System.Net.Security.EncryptionPolicy
            call     CORINFO_HELP_NEWSFAST
            mov      r14, rax
            mov      edi, dword ptr [rbx+0x70]
            mov      dword ptr [r14+0x08], edi
            mov      rdi, 0xD1FFAB1E      ; Interop+OpenSsl+SslException
            call     CORINFO_HELP_NEWSFAST
            mov      rbx, rax
            mov      rsi, r14
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for System.SR:Format(System.String,System.Object):System.String
            call     [rax]System.SR:Format(System.String,System.Object):System.String
            mov      r15, rax
            mov      rdi, rbx
            mov      rax, 0xD1FFAB1E      ; code for System.Exception:.ctor():this
            call     [rax]System.Exception:.ctor():this
            lea      rdi, bword ptr [rbx+0x10]
            mov      rsi, r15
            call     CORINFO_HELP_ASSIGN_REF
            mov      rdi, rbx
            call     CORINFO_HELP_THROW
            int3     
     						;; size=115 bbWeight=0 PerfScore 0.00
    -G_M62805_IG34:
    +G_M62805_IG32:
            mov      rcx, 0xD1FFAB1E      ; code for System.SR:get_net_ssl_use_cert_failed():System.String
            call     [rcx]System.SR:get_net_ssl_use_cert_failed():System.String
            mov      rdi, rax
            mov      rax, 0xD1FFAB1E      ; code for Interop+OpenSsl:CreateSslException(System.String):Interop+OpenSsl+SslException
            call     [rax]Interop+OpenSsl:CreateSslException(System.String):Interop+OpenSsl+SslException
            mov      rdi, rax
            call     CORINFO_HELP_THROW
            int3     
     						;; size=36 bbWeight=0 PerfScore 0.00
    -G_M62805_IG35:
    -       mov      rax, gword ptr [rbp-0xA0]
    +G_M62805_IG33:
    +       mov      rax, gword ptr [rbp-0x98]
            mov      r9, 0xD1FFAB1E
            cmp      qword ptr [rbp-0x30], r9
    -       je       SHORT G_M62805_IG36
    +       je       SHORT G_M62805_IG34
            call     CORINFO_HELP_FAIL_FAST
     						;; size=28 bbWeight=1 PerfScore 4.25
    -G_M62805_IG36:
    +G_M62805_IG34:
            nop      
     						;; size=1 bbWeight=1 PerfScore 0.25
    -G_M62805_IG37:
    -       add      rsp, 136
    +G_M62805_IG35:
    +       add      rsp, 120
            pop      rbx
            pop      r12
            pop      r13
            pop      r14
            pop      r15
            pop      rbp
            ret      
    -						;; size=18 bbWeight=1 PerfScore 4.25
    -G_M62805_IG38:
    +						;; size=15 bbWeight=1 PerfScore 4.25
    +G_M62805_IG36:
            push     rax
            vzeroupper 
     						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG39:
    +G_M62805_IG37:
            xor      rax, rax
            mov      gword ptr [rbp-0x60], rax
     						;; size=6 bbWeight=0 PerfScore 0.00
    -G_M62805_IG40:
    +G_M62805_IG38:
            add      rsp, 8
            ret      
     						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG41:
    +G_M62805_IG39:
            push     rax
            vzeroupper 
     						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG42:
    +G_M62805_IG40:
            xor      eax, eax
            mov      bword ptr [rbp-0x58], rax
     						;; size=6 bbWeight=0 PerfScore 0.00
    +G_M62805_IG41:
    +       add      rsp, 8
    +       ret      
    +						;; size=5 bbWeight=0 PerfScore 0.00
    +G_M62805_IG42:
    +       push     rax
    +       vzeroupper 
    +						;; size=4 bbWeight=0 PerfScore 0.00
     G_M62805_IG43:
    -       add      rsp, 8
    -       ret      
    -						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG44:
    -       push     rax
    -       vzeroupper 
    -						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG45:
    -       xor      edi, edi
    -       mov      bword ptr [rbp-0x78], rdi
    -						;; size=6 bbWeight=0 PerfScore 0.00
    -G_M62805_IG46:
    -       add      rsp, 8
    -       ret      
    -						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG47:
    -       push     rax
    -       vzeroupper 
    -						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG48:
            cmp      byte  ptr [rbp-0x68], 0
    -       je       SHORT G_M62805_IG49
    +       je       SHORT G_M62805_IG44
            mov      rdi, gword ptr [rbp-0x70]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
     						;; size=27 bbWeight=0 PerfScore 0.00
    -G_M62805_IG49:
    +G_M62805_IG44:
            nop      
     						;; size=1 bbWeight=0 PerfScore 0.00
    -G_M62805_IG50:
    +G_M62805_IG45:
            add      rsp, 8
            ret      
     						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG51:
    +G_M62805_IG46:
            push     rax
            vzeroupper 
     						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG52:
    -       cmp      byte  ptr [rbp-0x80], 0
    -       je       SHORT G_M62805_IG53
    -       mov      rdi, gword ptr [rbp-0x88]
    +G_M62805_IG47:
    +       cmp      byte  ptr [rbp-0x78], 0
    +       je       SHORT G_M62805_IG48
    +       mov      rdi, gword ptr [rbp-0x80]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
    -						;; size=30 bbWeight=0 PerfScore 0.00
    -G_M62805_IG53:
    +						;; size=27 bbWeight=0 PerfScore 0.00
    +G_M62805_IG48:
            nop      
     						;; size=1 bbWeight=0 PerfScore 0.00
    -G_M62805_IG54:
    +G_M62805_IG49:
            add      rsp, 8
            ret      
     						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG55:
    +G_M62805_IG50:
            push     rax
            vzeroupper 
     						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG56:
    -       cmp      byte  ptr [rbp-0x90], 0
    -       je       SHORT G_M62805_IG57
    -       mov      rdi, gword ptr [rbp-0x98]
    +G_M62805_IG51:
    +       cmp      byte  ptr [rbp-0x88], 0
    +       je       SHORT G_M62805_IG52
    +       mov      rdi, gword ptr [rbp-0x90]
            cmp      byte  ptr [rdi], dil
            xor      esi, esi
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
            call     [rax]System.Runtime.InteropServices.SafeHandle:InternalRelease(bool):this
     						;; size=33 bbWeight=0 PerfScore 0.00
    -G_M62805_IG57:
    +G_M62805_IG52:
            nop      
     						;; size=1 bbWeight=0 PerfScore 0.00
    -G_M62805_IG58:
    +G_M62805_IG53:
            add      rsp, 8
            ret      
     						;; size=5 bbWeight=0 PerfScore 0.00
    -G_M62805_IG59:
    +G_M62805_IG54:
            push     rax
            vzeroupper 
     						;; size=4 bbWeight=0 PerfScore 0.00
    -G_M62805_IG60:
    -       mov      rdi, gword ptr [rbp-0xA0]
    +G_M62805_IG55:
    +       mov      rdi, gword ptr [rbp-0x98]
            mov      rax, 0xD1FFAB1E      ; code for System.Runtime.InteropServices.SafeHandle:Dispose():this
            cmp      dword ptr [rdi], edi
            call     [rax]System.Runtime.InteropServices.SafeHandle:Dispose():this
            call     CORINFO_HELP_RETHROW
            int3     
     						;; size=27 bbWeight=0 PerfScore 0.00
     
    -; Total bytes of code 1515, prolog size 75, PerfScore 156.46, instruction count 354, allocated bytes for code 1515 (MethodHash=57ed0aaa) for method Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle (FullOpts)
    +; Total bytes of code 1458, prolog size 63, PerfScore 153.96, instruction count 342, allocated bytes for code 1458 (MethodHash=57ed0aaa) for method Interop+OpenSsl:AllocateSslContext(System.Net.Security.SslAuthenticationOptions,int,bool):Microsoft.Win32.SafeHandles.SafeSslContextHandle (FullOpts)
     ; ============================================================

    Note: some changes were skipped as they were too large to fit into a comment.

    Larger list of diffs: https://gist.github.com/MihuBot/c65306d3c542b828889d06f710109e6a

  3. MihuBot commented on Jun 17, 2026

    @MihuBot
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions