Skip to content

[JitDiff X64] [AndyAyersMS] JIT: RBO can now infer nested isinst outcomes fr ... #2076

Open

Description

@MihuBot

Job completed in 22 minutes 50 seconds (remote runner delay: 1 minute 16 seconds).
dotnet/runtime#130204
Using arguments: -nuget
Main commit: dotnet/runtime@e9914e4
PR commit: AndyAyersMS/runtime@c9ff12a

Diffs

Diffs
Found 118 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 395137471
Total bytes of diff: 395135337
Total bytes of delta: -2134 (-0.00 % of base)
Total relative delta: -5.23
    diff is an improvement.
    relative diff is an improvement.


Top file improvements (bytes):
       -1246 : System.Text.Json.dasm (-0.07 % of base)
        -155 : Antlr3.Runtime.dasm (-0.14 % of base)
        -126 : Dapper.dasm (-0.02 % of base)
         -94 : Microsoft.VisualBasic.Core.dasm (-0.02 % of base)
         -64 : Microsoft.AspNetCore.OData.dasm (-0.01 % of base)
         -62 : Microsoft.CodeAnalysis.VisualBasic.Workspaces.dasm (-0.00 % of base)
         -55 : dnlib.dasm (-0.00 % of base)
         -53 : FluentFTP.dasm (-0.01 % of base)
         -45 : Newtonsoft.Json.dasm (-0.00 % of base)
         -45 : Elastic.Apm.dasm (-0.00 % of base)
         -42 : Microsoft.OData.Edm.dasm (-0.00 % of base)
         -34 : Azure.Core.dasm (-0.00 % of base)
         -30 : EntityFramework.dasm (-0.00 % of base)
         -30 : DocumentFormat.OpenXml.Framework.dasm (-0.01 % of base)
         -30 : NLog.dasm (-0.00 % of base)
         -23 : Microsoft.IdentityModel.Xml.dasm (-0.04 % of base)

16 total files with Code Size differences (16 improved, 0 regressed), 744 unchanged.

Top method improvements (bytes):
        -155 (-12.21 % of base) : Antlr3.Runtime.dasm - Antlr.Runtime.BaseRecognizer:GetErrorMessage(Antlr.Runtime.RecognitionException,System.String[]):System.String:this (FullOpts)
        -126 (-18.61 % of base) : Dapper.dasm - Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object (FullOpts)
         -64 (-26.02 % of base) : Microsoft.AspNetCore.OData.dasm - Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool (FullOpts)
         -62 (-41.06 % of base) : Microsoft.CodeAnalysis.VisualBasic.Workspaces.dasm - Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool (FullOpts)
         -60 (-4.38 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.FileIO.FileSystem:CopyOrMoveDirectoryNode(int,Microsoft.VisualBasic.FileIO.FileSystem+DirectoryNode,bool,System.Collections.Specialized.ListDictionary) (FullOpts)
         -55 (-14.71 % of base) : dnlib.dasm - dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this (FullOpts)
         -53 (-43.09 % of base) : FluentFTP.dasm - FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool (FullOpts)
         -45 (-9.96 % of base) : Elastic.Apm.dasm - Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
         -45 (-9.96 % of base) : Newtonsoft.Json.dasm - Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
         -42 (-4.92 % of base) : Microsoft.OData.Edm.dasm - Microsoft.OData.Edm.ExtensionMethods:DerivedFrom(Microsoft.OData.Edm.IEdmModel,Microsoft.OData.Edm.IEdmStructuredType,Microsoft.OData.Edm.HashSetInternal`1[Microsoft.OData.Edm.IEdmStructuredType],System.Collections.Generic.List`1[Microsoft.OData.Edm.IEdmStructuredType]) (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[byte]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[byte]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetSetter(System.Delegate):this (FullOpts)
         -34 (-2.99 % of base) : Azure.Core.dasm - Azure.Identity.CredentialDiagnosticScope:TryWrapException(byref,System.String,bool):bool:this (FullOpts)
         -34 (-5.39 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.FileIO.FileSystem:GetLongPath(System.String):System.String (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetCreateObject(System.Delegate):this (FullOpts)
         -30 (-5.96 % of base) : DocumentFormat.OpenXml.Framework.dasm - DocumentFormat.OpenXml.OpenXmlPartReader:GetElementInformation():this (FullOpts)
         -30 (-2.14 % of base) : NLog.dasm - NLog.Internal.MultiFileWatcher:TryAddWatch(System.String,System.String,System.String):bool:this (FullOpts)
         -30 (-4.58 % of base) : EntityFramework.dasm - System.Data.Entity.Core.Common.EntitySql.CqlParser:yyerror(System.String):this (FullOpts)
         -23 (-1.75 % of base) : Microsoft.IdentityModel.Xml.dasm - Microsoft.IdentityModel.Xml.DSigSerializer:ReadSignedInfo(System.Xml.XmlReader):Microsoft.IdentityModel.Xml.SignedInfo:this (FullOpts)

Top method improvements (percentages):
         -53 (-43.09 % of base) : FluentFTP.dasm - FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool (FullOpts)
         -62 (-41.06 % of base) : Microsoft.CodeAnalysis.VisualBasic.Workspaces.dasm - Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool (FullOpts)
         -64 (-26.02 % of base) : Microsoft.AspNetCore.OData.dasm - Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool (FullOpts)
        -126 (-18.61 % of base) : Dapper.dasm - Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object (FullOpts)
         -55 (-14.71 % of base) : dnlib.dasm - dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this (FullOpts)
        -155 (-12.21 % of base) : Antlr3.Runtime.dasm - Antlr.Runtime.BaseRecognizer:GetErrorMessage(Antlr.Runtime.RecognitionException,System.String[]):System.String:this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetUnionConstructor(System.Delegate):this (FullOpts)
         -38 (-10.11 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetUnionDeconstructor(System.Delegate):this (FullOpts)
         -45 (-9.96 % of base) : Elastic.Apm.dasm - Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
         -45 (-9.96 % of base) : Newtonsoft.Json.dasm - Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[byte]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[byte]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetSetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetGetter(System.Delegate):this (FullOpts)
         -35 (-9.62 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetSetter(System.Delegate):this (FullOpts)
         -30 (-5.96 % of base) : DocumentFormat.OpenXml.Framework.dasm - DocumentFormat.OpenXml.OpenXmlPartReader:GetElementInformation():this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[byte]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[double]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[int]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[long]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[short]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Nullable`1[int]]:SetCreateObject(System.Delegate):this (FullOpts)
         -32 (-5.64 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonTypeInfo`1[System.Numerics.Vector`1[float]]:SetCreateObject(System.Delegate):this (FullOpts)
         -34 (-5.39 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.FileIO.FileSystem:GetLongPath(System.String):System.String (FullOpts)
         -42 (-4.92 % of base) : Microsoft.OData.Edm.dasm - Microsoft.OData.Edm.ExtensionMethods:DerivedFrom(Microsoft.OData.Edm.IEdmModel,Microsoft.OData.Edm.IEdmStructuredType,Microsoft.OData.Edm.HashSetInternal`1[Microsoft.OData.Edm.IEdmStructuredType],System.Collections.Generic.List`1[Microsoft.OData.Edm.IEdmStructuredType]) (FullOpts)
         -30 (-4.58 % of base) : EntityFramework.dasm - System.Data.Entity.Core.Common.EntitySql.CqlParser:yyerror(System.String):this (FullOpts)
         -60 (-4.38 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.FileIO.FileSystem:CopyOrMoveDirectoryNode(int,Microsoft.VisualBasic.FileIO.FileSystem+DirectoryNode,bool,System.Collections.Specialized.ListDictionary) (FullOpts)
         -34 (-2.99 % of base) : Azure.Core.dasm - Azure.Identity.CredentialDiagnosticScope:TryWrapException(byref,System.String,bool):bool:this (FullOpts)
         -30 (-2.14 % of base) : NLog.dasm - NLog.Internal.MultiFileWatcher:TryAddWatch(System.String,System.String,System.String):bool:this (FullOpts)
         -23 (-1.75 % of base) : Microsoft.IdentityModel.Xml.dasm - Microsoft.IdentityModel.Xml.DSigSerializer:ReadSignedInfo(System.Xml.XmlReader):Microsoft.IdentityModel.Xml.SignedInfo:this (FullOpts)

51 total methods with Code Size differences (51 improved, 0 regressed), 2084278 unchanged.

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

Artifacts:

Activity

  1. MihuBot commented on Jul 5, 2026

    @MihuBot
    OwnerAuthor

    Top method improvements

    -126 (-18.61 % of base) - Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object
     ; Assembly listing for method Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 9 single block inlinees; 5 inlinees without PGO data
     ; Final local variable assignments
     ;
    -;  V00 arg0         [V00,T00] ( 31, 15   )     ref  ->  rbx         class-hnd single-def <System.Object>
    +;  V00 arg0         [V00,T00] ( 30, 14.50)     ref  ->  rbx         class-hnd single-def <System.Object>
     ;* V01 loc0         [V01    ] (  0,  0   )     int  ->  zero-ref   
    -;  V02 loc1         [V02,T22] (  3,  1.50)     ref  ->  rdi         class-hnd single-def <System.IConvertible>
    +;  V02 loc1         [V02,T19] (  2,  1   )     ref  ->  rdi         class-hnd single-def <System.IConvertible>
     ;# V03 OutArgs      [V03    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
    -;  V04 tmp1         [V04,T23] (  3,  1.50)     int  ->  rax        
    -;  V05 tmp2         [V05,T03] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt64>
    -;  V06 tmp3         [V06,T04] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int64>
    -;  V07 tmp4         [V07,T05] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt32>
    -;  V08 tmp5         [V08,T06] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int32>
    -;  V09 tmp6         [V09,T07] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt16>
    -;  V10 tmp7         [V10,T08] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int16>
    -;  V11 tmp8         [V11,T09] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Byte>
    -;  V12 tmp9         [V12,T10] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.SByte>
    -;  V13 tmp10        [V13,T02] (  4,  4   )     ref  ->  r15         class-hnd exact single-def "Inlining Arg" <System.RuntimeType>
    +;  V04 tmp1         [V04,T20] (  2,  1   )     int  ->  rax        
    +;  V05 tmp2         [V05,T02] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt64>
    +;  V06 tmp3         [V06,T03] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int64>
    +;  V07 tmp4         [V07,T04] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt32>
    +;  V08 tmp5         [V08,T05] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int32>
    +;  V09 tmp6         [V09,T06] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.UInt16>
    +;  V10 tmp7         [V10,T07] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Int16>
    +;  V11 tmp8         [V11,T08] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.Byte>
    +;  V12 tmp9         [V12,T09] (  3,  3   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <System.SByte>
    +;* V13 tmp10        [V13    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact single-def "Inlining Arg" <System.RuntimeType>
     ;* V14 tmp11        [V14    ] (  0,  0   )  struct ( 8) zero-ref    ld-addr-op "Inline stloc first use temp" <System.Runtime.CompilerServices.TypeHandle>
    -;  V15 tmp12        [V15,T11] (  3,  3   )     ref  ->  rdi         class-hnd exact single-def "impAppendStmt" <System.RuntimeType>
    +;* V15 tmp12        [V15    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact single-def "impAppendStmt" <System.RuntimeType>
     ;* V16 tmp13        [V16    ] (  0,  0   )  struct ( 8) zero-ref    ld-addr-op "NewObj constructor temp" <System.Runtime.CompilerServices.TypeHandle>
     ;* V17 tmp14        [V17    ] (  0,  0   )    long  ->  zero-ref    "Inlining Arg"
    -;  V18 tmp15        [V18,T24] (  3,  1.50)     int  ->  rax         "Inline return value spill temp"
    +;* V18 tmp15        [V18    ] (  0,  0   )     int  ->  zero-ref    "Inline return value spill temp"
     ;* V19 tmp16        [V19    ] (  0,  0   )     int  ->  zero-ref    "Inline return value spill temp"
     ;* V20 tmp17        [V20    ] (  0,  0   )     ref  ->  zero-ref    class-hnd "Inline stloc first use temp" <System.RuntimeType>
     ;* V21 tmp18        [V21    ] (  0,  0   )  struct ( 8) zero-ref    ld-addr-op "Inline stloc first use temp" <System.Runtime.CompilerServices.TypeHandle>
     ;* V22 tmp19        [V22    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact "impAppendStmt" <System.RuntimeType>
     ;* V23 tmp20        [V23    ] (  0,  0   )  struct ( 8) zero-ref    ld-addr-op "NewObj constructor temp" <System.Runtime.CompilerServices.TypeHandle>
     ;* V24 tmp21        [V24    ] (  0,  0   )    long  ->  zero-ref    "Inlining Arg"
     ;  V25 tmp22        [V25,T01] ( 11, 12   )     ref  ->  rax         "Single return block return value"
     ;* V26 tmp23        [V26    ] (  0,  0   )    long  ->  zero-ref    "field V14.m_asTAddr (fldOffset=0x0)" P-INDEP
    -;  V27 tmp24        [V27,T26] (  2,  1   )    long  ->  rdi         "field V16.m_asTAddr (fldOffset=0x0)" P-INDEP
    +;* V27 tmp24        [V27    ] (  0,  0   )    long  ->  zero-ref    "field V16.m_asTAddr (fldOffset=0x0)" P-INDEP
     ;* V28 tmp25        [V28    ] (  0,  0   )    long  ->  zero-ref    "field V21.m_asTAddr (fldOffset=0x0)" P-INDEP
     ;* V29 tmp26        [V29    ] (  0,  0   )    long  ->  zero-ref    "field V23.m_asTAddr (fldOffset=0x0)" P-INDEP
    -;  V30 tmp27        [V30,T12] (  3,  3   )     int  ->  rax         "index expr"
    -;  V31 cse0         [V31,T25] (  2,  1   )     ref  ->  rdi         "CSE #01: moderate"
    -;  V32 cse1         [V32,T14] (  4,  1.75)    long  ->  r15         "CSE #02: moderate"
    -;  V33 cse2         [V33,T15] (  4,  1.75)    long  ->  r15         "CSE #04: moderate"
    -;  V34 cse3         [V34,T16] (  4,  1.75)    long  ->  r15         "CSE #05: moderate"
    -;  V35 cse4         [V35,T17] (  4,  1.75)    long  ->  r15         "CSE #06: moderate"
    -;  V36 cse5         [V36,T18] (  4,  1.75)    long  ->  r15         "CSE #07: moderate"
    -;  V37 cse6         [V37,T19] (  4,  1.75)    long  ->  r15         "CSE #08: moderate"
    -;  V38 cse7         [V38,T20] (  4,  1.75)    long  ->  r15         "CSE #09: moderate"
    -;  V39 cse8         [V39,T21] (  4,  1.75)    long  ->  r15         "CSE #11: moderate"
    -;  V40 rat0         [V40,T13] (  3,  2.89)     int  ->  rax         "ReplaceWithLclVar is creating a new local variable"
    +;* V30 tmp27        [V30    ] (  0,  0   )     int  ->  zero-ref    "index expr"
    +;  V31 cse0         [V31,T11] (  4,  1.75)    long  ->  r15         "CSE #02: moderate"
    +;  V32 cse1         [V32,T12] (  4,  1.75)    long  ->  r15         "CSE #04: moderate"
    +;  V33 cse2         [V33,T13] (  4,  1.75)    long  ->  r15         "CSE #05: moderate"
    +;  V34 cse3         [V34,T14] (  4,  1.75)    long  ->  r15         "CSE #06: moderate"
    +;  V35 cse4         [V35,T15] (  4,  1.75)    long  ->  r15         "CSE #07: moderate"
    +;  V36 cse5         [V36,T16] (  4,  1.75)    long  ->  r15         "CSE #08: moderate"
    +;  V37 cse6         [V37,T17] (  4,  1.75)    long  ->  r15         "CSE #09: moderate"
    +;  V38 cse7         [V38,T18] (  4,  1.75)    long  ->  r15         "CSE #11: moderate"
    +;  V39 rat0         [V39,T10] (  3,  2.89)     int  ->  rax         "ReplaceWithLclVar is creating a new local variable"
     ;
     ; Lcl frame size = 0
     
     G_M28807_IG01:
            push     rbp
            push     r15
            push     rbx
            lea      rbp, [rsp+0x10]
            mov      rbx, rdi
     						;; size=12 bbWeight=1 PerfScore 3.75
     G_M28807_IG02:
            test     rbx, rbx
    -       je       G_M28807_IG33
    +       je       G_M28807_IG30
     						;; size=9 bbWeight=1 PerfScore 1.25
     G_M28807_IG03:
            mov      rsi, rbx
            mov      rdi, 0xD1FFAB1E      ; System.Enum
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
    -       je       G_M28807_IG32
    +       je       G_M28807_IG29
            mov      rdi, rbx
    -       test     rdi, rdi
    -       je       SHORT G_M28807_IG04
            mov      r11, 0xD1FFAB1E      ; code for System.IConvertible:GetTypeCode():int:this
            call     [r11]System.IConvertible:GetTypeCode():int:this
    -       jmp      SHORT G_M28807_IG06
    -						;; size=57 bbWeight=0.50 PerfScore 5.88
    -G_M28807_IG04:
    -       mov      rdi, rbx
    -       mov      rax, 0xD1FFAB1E      ; code for System.Object:GetType():System.Type:this
    -       call     [rax]System.Object:GetType():System.Type:this
    -       mov      r15, rax
    -       mov      rdi, r15
    -       mov      rax, 0xD1FFAB1E      ; code for System.RuntimeType:get_IsActualEnum():bool:this
    -       call     [rax]System.RuntimeType:get_IsActualEnum():bool:this
    -       test     eax, eax
    -       je       G_M28807_IG35
    -       mov      rdi, qword ptr [r15+0x18]
    -       call     System.Runtime.CompilerServices.MethodTable:GetPrimitiveCorElementType():byte:this
    -       mov      rdi, 0xD1FFAB1E      ; const ptr
    -       mov      rdi, gword ptr [rdi]
    -       cmp      eax, 26
    -       jae      G_M28807_IG36
    -       mov      eax, eax
    -       mov      rdi, gword ptr [rdi+8*rax+0x10]
    -       test     rdi, rdi
    -       je       SHORT G_M28807_IG05
    -       mov      rax, 0xD1FFAB1E      ; code for System.RuntimeType:GetTypeCodeImpl():int:this
    -       call     [rax]System.RuntimeType:GetTypeCodeImpl():int:this
    -       jmp      SHORT G_M28807_IG06
    -						;; size=98 bbWeight=0.50 PerfScore 11.88
    -G_M28807_IG05:
    -       xor      eax, eax
    -						;; size=2 bbWeight=0.50 PerfScore 0.12
    -G_M28807_IG06:
            add      eax, -5
            cmp      eax, 7
    -       ja       G_M28807_IG32
    -						;; size=12 bbWeight=0.50 PerfScore 0.75
    -G_M28807_IG07:
    +       ja       G_M28807_IG29
    +						;; size=62 bbWeight=0.50 PerfScore 5.00
    +G_M28807_IG04:
            mov      esi, eax
            lea      rdi, [reloc @RWD00]
            mov      edi, dword ptr [rdi+4*rsi]
            lea      rax, G_M28807_IG02
            add      rdi, rax
            jmp      rdi
     						;; size=24 bbWeight=0.44 PerfScore 2.67
    -G_M28807_IG08:
    +G_M28807_IG05:
            mov      r15, 0xD1FFAB1E      ; System.UInt64
            cmp      qword ptr [rbx], r15
    +       je       SHORT G_M28807_IG07
    +						;; size=15 bbWeight=0.50 PerfScore 1.62
    +G_M28807_IG06:
    +       mov      rsi, rbx
    +       mov      rdi, r15
    +       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
    +       call     [rax]CORINFO_HELP_UNBOX
    +						;; size=18 bbWeight=0.25 PerfScore 0.94
    +G_M28807_IG07:
    +       mov      rdi, r15
    +       call     CORINFO_HELP_NEWSFAST
    +       mov      rsi, qword ptr [rbx+0x08]
    +       mov      qword ptr [rax+0x08], rsi
    +       jmp      G_M28807_IG31
    +						;; size=21 bbWeight=0.50 PerfScore 3.12
    +G_M28807_IG08:
    +       mov      r15, 0xD1FFAB1E      ; System.Int64
    +       cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG10
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG09:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG10:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
            mov      rsi, qword ptr [rbx+0x08]
            mov      qword ptr [rax+0x08], rsi
    -       jmp      G_M28807_IG34
    +       jmp      G_M28807_IG31
     						;; size=21 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG11:
    -       mov      r15, 0xD1FFAB1E      ; System.Int64
    +       mov      r15, 0xD1FFAB1E      ; System.UInt32
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG13
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG12:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG13:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
    -       mov      rsi, qword ptr [rbx+0x08]
    -       mov      qword ptr [rax+0x08], rsi
    -       jmp      G_M28807_IG34
    -						;; size=21 bbWeight=0.50 PerfScore 3.12
    +       mov      esi, dword ptr [rbx+0x08]
    +       mov      dword ptr [rax+0x08], esi
    +       jmp      G_M28807_IG31
    +						;; size=19 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG14:
    -       mov      r15, 0xD1FFAB1E      ; System.UInt32
    +       mov      r15, 0xD1FFAB1E      ; System.Int32
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG16
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG15:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG16:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
            mov      esi, dword ptr [rbx+0x08]
            mov      dword ptr [rax+0x08], esi
    -       jmp      G_M28807_IG34
    +       jmp      G_M28807_IG31
     						;; size=19 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG17:
    -       mov      r15, 0xD1FFAB1E      ; System.Int32
    +       mov      r15, 0xD1FFAB1E      ; System.UInt16
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG19
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG18:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG19:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
    -       mov      esi, dword ptr [rbx+0x08]
    -       mov      dword ptr [rax+0x08], esi
    -       jmp      G_M28807_IG34
    -						;; size=19 bbWeight=0.50 PerfScore 3.12
    +       movzx    rsi, word  ptr [rbx+0x08]
    +       mov      word  ptr [rax+0x08], si
    +       jmp      G_M28807_IG31
    +						;; size=21 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG20:
    -       mov      r15, 0xD1FFAB1E      ; System.UInt16
    +       mov      r15, 0xD1FFAB1E      ; System.Int16
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG22
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG21:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG22:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
    -       movzx    rsi, word  ptr [rbx+0x08]
    +       movsx    rsi, word  ptr [rbx+0x08]
            mov      word  ptr [rax+0x08], si
    -       jmp      G_M28807_IG34
    -						;; size=21 bbWeight=0.50 PerfScore 3.12
    +       jmp      SHORT G_M28807_IG31
    +						;; size=19 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG23:
    -       mov      r15, 0xD1FFAB1E      ; System.Int16
    +       mov      r15, 0xD1FFAB1E      ; System.Byte
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG25
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG24:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG25:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
    -       movsx    rsi, word  ptr [rbx+0x08]
    -       mov      word  ptr [rax+0x08], si
    -       jmp      SHORT G_M28807_IG34
    +       movzx    rsi, byte  ptr [rbx+0x08]
    +       mov      byte  ptr [rax+0x08], sil
    +       jmp      SHORT G_M28807_IG31
     						;; size=19 bbWeight=0.50 PerfScore 3.12
     G_M28807_IG26:
    -       mov      r15, 0xD1FFAB1E      ; System.Byte
    +       mov      r15, 0xD1FFAB1E      ; System.SByte
            cmp      qword ptr [rbx], r15
            je       SHORT G_M28807_IG28
     						;; size=15 bbWeight=0.50 PerfScore 1.62
     G_M28807_IG27:
            mov      rsi, rbx
            mov      rdi, r15
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
            call     [rax]CORINFO_HELP_UNBOX
     						;; size=18 bbWeight=0.25 PerfScore 0.94
     G_M28807_IG28:
    -       mov      rdi, r15
    -       call     CORINFO_HELP_NEWSFAST
    -       movzx    rsi, byte  ptr [rbx+0x08]
    -       mov      byte  ptr [rax+0x08], sil
    -       jmp      SHORT G_M28807_IG34
    -						;; size=19 bbWeight=0.50 PerfScore 3.12
    -G_M28807_IG29:
    -       mov      r15, 0xD1FFAB1E      ; System.SByte
    -       cmp      qword ptr [rbx], r15
    -       je       SHORT G_M28807_IG31
    -						;; size=15 bbWeight=0.50 PerfScore 1.62
    -G_M28807_IG30:
    -       mov      rsi, rbx
    -       mov      rdi, r15
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_UNBOX
    -       call     [rax]CORINFO_HELP_UNBOX
    -						;; size=18 bbWeight=0.25 PerfScore 0.94
    -G_M28807_IG31:
            mov      rdi, r15
            call     CORINFO_HELP_NEWSFAST
            movsx    rcx, byte  ptr [rbx+0x08]
            mov      byte  ptr [rax+0x08], cl
    -       jmp      SHORT G_M28807_IG34
    +       jmp      SHORT G_M28807_IG31
     						;; size=18 bbWeight=0.50 PerfScore 3.12
    -G_M28807_IG32:
    +G_M28807_IG29:
            mov      rax, rbx
    -       jmp      SHORT G_M28807_IG34
    +       jmp      SHORT G_M28807_IG31
     						;; size=5 bbWeight=0.50 PerfScore 1.12
    -G_M28807_IG33:
    +G_M28807_IG30:
            mov      rax, 0xD1FFAB1E      ; const ptr
            mov      rax, gword ptr [rax]
     						;; size=13 bbWeight=0.50 PerfScore 1.12
    -G_M28807_IG34:
    +G_M28807_IG31:
            pop      rbx
            pop      r15
            pop      rbp
            ret      
     						;; size=5 bbWeight=1 PerfScore 2.50
    -G_M28807_IG35:
    -       mov      rax, 0xD1FFAB1E      ; code for System.RuntimeType:ThrowMustBeEnum()
    -       call     [rax]System.RuntimeType:ThrowMustBeEnum()
    -       int3     
    -						;; size=13 bbWeight=0 PerfScore 0.00
    -G_M28807_IG36:
    -       call     CORINFO_HELP_RNGCHKFAIL
    -       int3     
    -						;; size=6 bbWeight=0 PerfScore 0.00
    -RWD00  	dd	G_M28807_IG29 - G_M28807_IG02
    -       	dd	G_M28807_IG26 - G_M28807_IG02
    +RWD00  	dd	G_M28807_IG26 - G_M28807_IG02
            	dd	G_M28807_IG23 - G_M28807_IG02
            	dd	G_M28807_IG20 - G_M28807_IG02
            	dd	G_M28807_IG17 - G_M28807_IG02
            	dd	G_M28807_IG14 - G_M28807_IG02
            	dd	G_M28807_IG11 - G_M28807_IG02
            	dd	G_M28807_IG08 - G_M28807_IG02
    +       	dd	G_M28807_IG05 - G_M28807_IG02
     
     
    -; Total bytes of code 677, prolog size 9, PerfScore 76.54, instruction count 160, allocated bytes for code 677 (MethodHash=26308f78) for method Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object (FullOpts)
    +; Total bytes of code 551, prolog size 9, PerfScore 62.92, instruction count 129, allocated bytes for code 551 (MethodHash=26308f78) for method Dapper.SqlMapper:SanitizeParameterValue(System.Object):System.Object (FullOpts)
     ; ============================================================
    -64 (-26.02 % of base) - Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool
     ; Assembly listing for method Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 2 single block inlinees; 0 inlinees without PGO data
     ; Final local variable assignments
     ;
    -;  V00 arg0         [V00,T00] (  7,  5.50)     ref  ->  rbx         class-hnd single-def <Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject>
    +;  V00 arg0         [V00,T00] (  5,  4.50)     ref  ->  rbx         class-hnd single-def <Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject>
     ;  V01 loc0         [V01,T01] (  3,  2.50)     ref  ->  rax         class-hnd single-def <Microsoft.AspNetCore.OData.Formatter.Value.TypedEdmEntityObject>
     ;# V02 OutArgs      [V02    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
     ;  V03 tmp1         [V03,T02] (  3,  0   )     ref  ->  rbx         class-hnd exact single-def "NewObj constructor temp" <System.ArgumentNullException>
     ;
     ; Lcl frame size = 8
     
     G_M61395_IG01:
            push     rbp
            push     rbx
            push     rax
            lea      rbp, [rsp+0x10]
            mov      rbx, rdi
     						;; size=11 bbWeight=1 PerfScore 3.75
     G_M61395_IG02:
            test     rbx, rbx
    -       je       G_M61395_IG08
    +       je       SHORT G_M61395_IG08
            mov      rsi, rbx
            mov      rdi, 0xD1FFAB1E      ; Microsoft.AspNetCore.OData.Formatter.Value.TypedEdmEntityObject
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
            je       SHORT G_M61395_IG04
    -						;; size=39 bbWeight=1 PerfScore 6.25
    +						;; size=35 bbWeight=1 PerfScore 6.25
     G_M61395_IG03:
            mov      rsi, gword ptr [rax+0x18]
            mov      rdi, 0xD1FFAB1E      ; Microsoft.AspNetCore.OData.Deltas.IDeltaSetItem
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFINTERFACE
            call     [rax]CORINFO_HELP_ISINSTANCEOFINTERFACE
            test     rax, rax
            jne      SHORT G_M61395_IG06
     						;; size=31 bbWeight=0.50 PerfScore 3.38
     G_M61395_IG04:
            mov      rsi, rbx
            mov      rdi, 0xD1FFAB1E      ; Microsoft.AspNetCore.OData.Deltas.IDeltaSetItem
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFINTERFACE
            call     [rax]CORINFO_HELP_ISINSTANCEOFINTERFACE
            test     rax, rax
    -       jne      SHORT G_M61395_IG06
    -       mov      rsi, rbx
    -       mov      rdi, 0xD1FFAB1E      ; Microsoft.AspNetCore.OData.Formatter.Value.EdmDeltaResourceObject
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
    -       jne      SHORT G_M61395_IG06
    -       mov      rsi, rbx
    -       mov      rdi, 0xD1FFAB1E      ; Microsoft.AspNetCore.OData.Formatter.Value.EdmDeltaComplexObject
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
            setne    al
            movzx    rax, al
    -						;; size=94 bbWeight=0.50 PerfScore 7.38
    +						;; size=34 bbWeight=0.50 PerfScore 2.38
     G_M61395_IG05:
            add      rsp, 8
            pop      rbx
            pop      rbp
            ret      
     						;; size=7 bbWeight=0.50 PerfScore 1.12
     G_M61395_IG06:
            mov      eax, 1
     						;; size=5 bbWeight=0.50 PerfScore 0.12
     G_M61395_IG07:
            add      rsp, 8
            pop      rbx
            pop      rbp
            ret      
     						;; size=7 bbWeight=0.50 PerfScore 1.12
     G_M61395_IG08:
            mov      rdi, 0xD1FFAB1E      ; System.ArgumentNullException
            call     CORINFO_HELP_NEWSFAST
            mov      rbx, rax
            mov      rdi, rbx
            mov      rsi, 0xD1FFAB1E      ; 'resource'
            mov      rax, 0xD1FFAB1E      ; code for System.ArgumentNullException:.ctor(System.String):this
            call     [rax]System.ArgumentNullException:.ctor(System.String):this
            mov      rdi, rbx
            call     CORINFO_HELP_THROW
            int3     
     						;; size=52 bbWeight=0 PerfScore 0.00
     
    -; Total bytes of code 246, prolog size 8, PerfScore 23.12, instruction count 57, allocated bytes for code 246 (MethodHash=4b91102c) for method Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool (FullOpts)
    +; Total bytes of code 182, prolog size 8, PerfScore 18.12, instruction count 45, allocated bytes for code 182 (MethodHash=4b91102c) for method Microsoft.AspNetCore.OData.Formatter.Value.EdmTypeExtensions:IsDeltaResource(Microsoft.AspNetCore.OData.Formatter.Value.IEdmObject):bool (FullOpts)
     ; ============================================================
    -62 (-41.06 % of base) - Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool
     ; Assembly listing for method Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 4 single block inlinees; 0 inlinees without PGO data
     ; Final local variable assignments
     ;
     ;  V00 arg0         [V00,T03] (  1,  1   )  struct (24) [rbp+0x10]  do-not-enreg[SF] ld-addr-op single-def <Microsoft.CodeAnalysis.SyntaxToken>
     ;  V01 arg1         [V01,T04] (  1,  1   )  struct (24) [rbp+0x28]  do-not-enreg[SF] ld-addr-op single-def <Microsoft.CodeAnalysis.SyntaxToken>
    -;  V02 loc0         [V02,T02] (  3,  2   )   ubyte  ->  rax        
    +;  V02 loc0         [V02,T00] (  3,  2   )   ubyte  ->  rax        
     ;# V03 OutArgs      [V03    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
    -;  V04 tmp1         [V04,T00] (  3,  2.50)     ref  ->  rbx         single-def "V00.[000..008)"
    -;  V05 tmp2         [V05,T01] (  3,  2   )     ref  ->  r15         single-def "V01.[000..008)"
    +;  V04 tmp1         [V04,T01] (  2,  2   )     ref  ->  rsi         single-def "V00.[000..008)"
    +;  V05 tmp2         [V05,T02] (  2,  1.50)     ref  ->  rbx         single-def "V01.[000..008)"
     ;
    -; Lcl frame size = 0
    +; Lcl frame size = 8
     
     G_M27098_IG01:
            push     rbp
    -       push     r15
            push     rbx
    +       push     rax
            lea      rbp, [rsp+0x10]
    -						;; size=9 bbWeight=1 PerfScore 3.50
    +						;; size=8 bbWeight=1 PerfScore 3.50
     G_M27098_IG02:
    -       mov      rbx, gword ptr [rbp+0x10]
    -       mov      r15, gword ptr [rbp+0x28]
    -       mov      rsi, rbx
    +       mov      rsi, gword ptr [rbp+0x10]
    +       mov      rbx, gword ptr [rbp+0x28]
            mov      rdi, 0xD1FFAB1E      ; Microsoft.CodeAnalysis.VisualBasic.Syntax.StructuredTriviaSyntax
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
            jne      SHORT G_M27098_IG04
    -						;; size=38 bbWeight=1 PerfScore 7.00
    +						;; size=35 bbWeight=1 PerfScore 6.75
     G_M27098_IG03:
    -       mov      rsi, r15
    -       mov      rdi, 0xD1FFAB1E      ; Microsoft.CodeAnalysis.VisualBasic.Syntax.StructuredTriviaSyntax
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
    -       jne      SHORT G_M27098_IG04
            mov      rsi, rbx
    -       mov      rdi, 0xD1FFAB1E      ; Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
    -       jne      SHORT G_M27098_IG04
    -       mov      rsi, r15
    -       mov      rdi, 0xD1FFAB1E      ; Microsoft.CodeAnalysis.VisualBasic.Syntax.DirectiveTriviaSyntax
    +       mov      rdi, 0xD1FFAB1E      ; Microsoft.CodeAnalysis.VisualBasic.Syntax.StructuredTriviaSyntax
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
            jne      SHORT G_M27098_IG04
            xor      eax, eax
            jmp      SHORT G_M27098_IG05
    -						;; size=94 bbWeight=0.50 PerfScore 8.62
    +						;; size=34 bbWeight=0.50 PerfScore 3.62
     G_M27098_IG04:
            mov      eax, 1
     						;; size=5 bbWeight=0.50 PerfScore 0.12
     G_M27098_IG05:
    +       add      rsp, 8
            pop      rbx
    -       pop      r15
            pop      rbp
            ret      
    -						;; size=5 bbWeight=1 PerfScore 2.50
    +						;; size=7 bbWeight=1 PerfScore 2.25
     
    -; Total bytes of code 151, prolog size 9, PerfScore 21.75, instruction count 37, allocated bytes for code 151 (MethodHash=828b9625) for method Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool (FullOpts)
    +; Total bytes of code 89, prolog size 8, PerfScore 16.25, instruction count 24, allocated bytes for code 89 (MethodHash=828b9625) for method Microsoft.CodeAnalysis.VisualBasic.Formatting.StructuredTriviaFormattingRule:UnderStructuredTrivia(Microsoft.CodeAnalysis.SyntaxToken,Microsoft.CodeAnalysis.SyntaxToken):bool (FullOpts)
     ; ============================================================
    -55 (-14.71 % of base) - dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this
     ; Assembly listing for method dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 4 single block inlinees; 1 inlinees without PGO data
     ; Final local variable assignments
     ;
     ;  V00 this         [V00,T00] (  9,  5.50)   byref  ->  rbx         this single-def
    -;  V01 arg1         [V01,T01] (  7,  5   )     ref  ->  r15         class-hnd single-def <dnlib.DotNet.IMemberRefParent>
    -;  V02 arg2         [V02,T02] (  6,  4   )     ref  ->  r14         class-hnd single-def <System.Type>
    +;  V01 arg1         [V01,T01] (  6,  4.50)     ref  ->  r15         class-hnd single-def <dnlib.DotNet.IMemberRefParent>
    +;  V02 arg2         [V02,T02] (  5,  3.50)     ref  ->  r14         class-hnd single-def <System.Type>
     ;  V03 arg3         [V03,T03] (  5,  3.50)     ref  ->  r13         class-hnd single-def <System.Reflection.Module>
    -;  V04 loc0         [V04,T05] (  6,  3   )   ubyte  ->  rax        
    +;  V04 loc0         [V04,T08] (  5,  2.50)   ubyte  ->  rax        
     ;* V05 loc1         [V05    ] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <dnlib.DotNet.ITypeDefOrRef>
     ;* V06 loc2         [V06    ] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <dnlib.DotNet.ModuleRef>
     ;* V07 loc3         [V07    ] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <dnlib.DotNet.MethodDef>
     ;* V08 loc4         [V08    ] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <dnlib.DotNet.TypeDef>
    -;  V09 loc5         [V09,T11] (  3,  1.50)     ref  ->  r15         class-hnd single-def <dnlib.DotNet.ModuleDef>
    +;  V09 loc5         [V09,T10] (  3,  1.50)     ref  ->  r15         class-hnd single-def <dnlib.DotNet.ModuleDef>
     ;# V10 OutArgs      [V10    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
    -;  V11 tmp1         [V11,T06] (  3,  3   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.IMemberRefParent>
    +;  V11 tmp1         [V11,T05] (  3,  3   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.IMemberRefParent>
     ;  V12 tmp2         [V12,T04] (  4,  4   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.ModuleRef>
    -;  V13 tmp3         [V13,T07] (  3,  3   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.MethodDef>
    -;  V14 tmp4         [V14,T08] (  3,  3   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.TypeDef>
    -;  V15 tmp5         [V15,T13] (  3,  1.50)     int  ->  r14        
    +;  V13 tmp3         [V13,T06] (  3,  3   )     ref  ->  rax         class-hnd single-def "dup spill" <dnlib.DotNet.MethodDef>
    +;* V14 tmp4         [V14,T14] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def "dup spill" <dnlib.DotNet.TypeDef>
    +;  V15 tmp5         [V15,T12] (  3,  1.50)     int  ->  r14        
     ;* V16 tmp6         [V16    ] (  0,  0   )   byref  ->  zero-ref   
     ;* V17 tmp7         [V17    ] (  0,  0   )   byref  ->  zero-ref    single-def
    -;  V18 tmp8         [V18,T12] (  3,  1.50)     ref  ->  r14        
    +;  V18 tmp8         [V18,T11] (  3,  1.50)     ref  ->  r14        
     ;* V19 tmp9         [V19    ] (  0,  0   )   ubyte  ->  zero-ref    "Inline return value spill temp"
    -;  V20 tmp10        [V20,T09] (  3,  3   )   byref  ->  rsi         single-def "Inlining Arg"
    +;  V20 tmp10        [V20,T07] (  3,  3   )   byref  ->  rsi         single-def "Inlining Arg"
     ;* V21 tmp11        [V21    ] (  0,  0   )   byref  ->  zero-ref    "Inlining Arg"
    -;  V22 tmp12        [V22,T10] (  2,  2   )     ref  ->  rdx         single-def "argument with side effect"
    -;  V23 cse0         [V23,T14] (  3,  1.50)     int  ->  rdi         "CSE #01: moderate"
    +;  V22 tmp12        [V22,T09] (  2,  2   )     ref  ->  rdx         single-def "argument with side effect"
    +;  V23 cse0         [V23,T13] (  3,  1.50)     int  ->  rdi         "CSE #01: moderate"
     ;
     ; Lcl frame size = 0
     
     G_M29633_IG01:
            push     rbp
            push     r15
            push     r14
            push     r13
            push     rbx
            lea      rbp, [rsp+0x20]
            mov      rbx, rdi
            mov      r15, rsi
            mov      r14, rdx
            mov      r13, rcx
     						;; size=25 bbWeight=1 PerfScore 6.50
     G_M29633_IG02:
            test     r15, r15
    -       je       G_M29633_IG16
    +       je       G_M29633_IG14
     						;; size=9 bbWeight=1 PerfScore 1.25
     G_M29633_IG03:
            lea      rsi, bword ptr [rbx+0x14]
            mov      edi, dword ptr [rsi]
            cmp      edi, 100
    -       jge      G_M29633_IG16
    +       jge      G_M29633_IG14
            inc      edi
            mov      dword ptr [rsi], edi
            mov      rsi, r15
            mov      rdi, 0xD1FFAB1E      ; dnlib.DotNet.ITypeDefOrRef
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFINTERFACE
            call     [rax]CORINFO_HELP_ISINSTANCEOFINTERFACE
            test     rax, rax
    -       jne      G_M29633_IG13
    +       jne      G_M29633_IG11
            mov      rsi, r15
            mov      rdi, 0xD1FFAB1E      ; dnlib.DotNet.ModuleRef
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
    -       jne      SHORT G_M29633_IG07
    +       jne      SHORT G_M29633_IG05
            mov      rsi, r15
            mov      rdi, 0xD1FFAB1E      ; dnlib.DotNet.MethodDef
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
            call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
            test     rax, rax
    -       jne      SHORT G_M29633_IG06
    -       test     r14, r14
            jne      SHORT G_M29633_IG04
    -       mov      rsi, r15
    -       mov      rdi, 0xD1FFAB1E      ; dnlib.DotNet.TypeDef
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
    -       jne      SHORT G_M29633_IG05
    -						;; size=148 bbWeight=0.50 PerfScore 13.12
    -G_M29633_IG04:
            xor      eax, eax
    -       jmp      G_M29633_IG14
    -						;; size=7 bbWeight=0.50 PerfScore 1.12
    -G_M29633_IG05:
    -       mov      rdi, rax
    -       mov      rax, 0xD1FFAB1E      ; code for dnlib.DotNet.TypeDef:get_IsGlobalModuleType():bool:this
    -       call     [rax]dnlib.DotNet.TypeDef:get_IsGlobalModuleType():bool:this
    -       jmp      G_M29633_IG14
    -						;; size=20 bbWeight=0.50 PerfScore 2.75
    -G_M29633_IG06:
    +       jmp      G_M29633_IG12
    +						;; size=120 bbWeight=0.50 PerfScore 11.12
    +G_M29633_IG04:
            mov      rsi, gword ptr [rax+0x70]
            mov      rdi, rbx
            mov      rdx, r14
            mov      rax, 0xD1FFAB1E      ; code for dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.TypeDef,System.Type):bool:this
            call     [rax]dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.TypeDef,System.Type):bool:this
    -       jmp      SHORT G_M29633_IG14
    +       jmp      SHORT G_M29633_IG12
     						;; size=24 bbWeight=0.50 PerfScore 3.88
    -G_M29633_IG07:
    +G_M29633_IG05:
            mov      r15, gword ptr [rax+0x08]
            test     r14, r14
    -       jne      SHORT G_M29633_IG08
    +       jne      SHORT G_M29633_IG06
            mov      rdi, rbx
            mov      rsi, rax
            mov      rdx, r13
            mov      rax, 0xD1FFAB1E      ; code for dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IModule,System.Reflection.Module):bool:this
            call     [rax]dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IModule,System.Reflection.Module):bool:this
            test     eax, eax
    -       jne      SHORT G_M29633_IG09
    +       jne      SHORT G_M29633_IG07
     						;; size=34 bbWeight=0.50 PerfScore 4.25
    -G_M29633_IG08:
    +G_M29633_IG06:
            xor      r14d, r14d
    -       jmp      SHORT G_M29633_IG12
    +       jmp      SHORT G_M29633_IG10
     						;; size=5 bbWeight=0.50 PerfScore 1.12
    -G_M29633_IG09:
    +G_M29633_IG07:
            test     r15, r15
    -       je       SHORT G_M29633_IG10
    +       je       SHORT G_M29633_IG08
            mov      r14, gword ptr [r15+0x58]
    -       jmp      SHORT G_M29633_IG11
    +       jmp      SHORT G_M29633_IG09
     						;; size=11 bbWeight=0.50 PerfScore 2.62
    -G_M29633_IG10:
    +G_M29633_IG08:
            xor      r14, r14
     						;; size=3 bbWeight=0.50 PerfScore 0.12
    -G_M29633_IG11:
    +G_M29633_IG09:
            mov      rdi, r13
            mov      rax, qword ptr [r13]
            mov      rax, qword ptr [rax+0x40]
            call     [rax+0x20]System.Reflection.Module:get_Assembly():System.Reflection.Assembly:this
            mov      rdx, rax
            mov      rsi, r14
            mov      rdi, rbx
            mov      rax, 0xD1FFAB1E      ; code for dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IAssembly,System.Reflection.Assembly):bool:this
            call     [rax]dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IAssembly,System.Reflection.Assembly):bool:this
            mov      r14d, eax
     						;; size=38 bbWeight=0.50 PerfScore 5.75
    -G_M29633_IG12:
    +G_M29633_IG10:
            movzx    rax, r14b
    -       jmp      SHORT G_M29633_IG14
    +       jmp      SHORT G_M29633_IG12
     						;; size=6 bbWeight=0.50 PerfScore 1.12
    -G_M29633_IG13:
    +G_M29633_IG11:
            mov      rdi, rbx
            mov      rsi, rax
            mov      rdx, r14
            mov      rax, 0xD1FFAB1E      ; code for dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IType,System.Type):bool:this
            call     [rax]dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IType,System.Type):bool:this
     						;; size=21 bbWeight=0.50 PerfScore 2.00
    -G_M29633_IG14:
    +G_M29633_IG12:
            dec      dword ptr [rbx+0x14]
     						;; size=3 bbWeight=0.50 PerfScore 1.50
    +G_M29633_IG13:
    +       pop      rbx
    +       pop      r13
    +       pop      r14
    +       pop      r15
    +       pop      rbp
    +       ret      
    +						;; size=9 bbWeight=0.50 PerfScore 1.75
    +G_M29633_IG14:
    +       xor      eax, eax
    +						;; size=2 bbWeight=0.50 PerfScore 0.12
     G_M29633_IG15:
            pop      rbx
            pop      r13
            pop      r14
            pop      r15
            pop      rbp
            ret      
     						;; size=9 bbWeight=0.50 PerfScore 1.75
    -G_M29633_IG16:
    -       xor      eax, eax
    -						;; size=2 bbWeight=0.50 PerfScore 0.12
    -G_M29633_IG17:
    -       pop      rbx
    -       pop      r13
    -       pop      r14
    -       pop      r15
    -       pop      rbp
    -       ret      
    -						;; size=9 bbWeight=0.50 PerfScore 1.75
     
    -; Total bytes of code 374, prolog size 13, PerfScore 50.75, instruction count 104, allocated bytes for code 374 (MethodHash=c3b08c3e) for method dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this (FullOpts)
    +; Total bytes of code 319, prolog size 13, PerfScore 44.88, instruction count 92, allocated bytes for code 319 (MethodHash=c3b08c3e) for method dnlib.DotNet.SigComparer:Equals(dnlib.DotNet.IMemberRefParent,System.Type,System.Reflection.Module):bool:this (FullOpts)
     ; ============================================================
    -53 (-43.09 % of base) - FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool
     ; Assembly listing for method FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; Final local variable assignments
     ;
    -;  V00 arg0         [V00,T00] (  5,  4   )     ref  ->  rbx         class-hnd single-def <System.Collections.IEnumerable>
    +;  V00 arg0         [V00,T00] (  4,  3.50)     ref  ->  rdi         class-hnd single-def <System.Collections.IEnumerable>
     ;  V01 loc0         [V01,T01] (  3,  1.50)     ref  ->  rax         class-hnd single-def <System.Collections.IList>
    -;  V02 loc1         [V02,T02] (  3,  1.50)     ref  ->  rax         class-hnd single-def <byte[]>
    +;* V02 loc1         [V02,T02] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <byte[]>
     ;# V03 OutArgs      [V03    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
     ;
    -; Lcl frame size = 8
    +; Lcl frame size = 0
     
     G_M37488_IG01:
            push     rbp
    -       push     rbx
    -       push     rax
    -       lea      rbp, [rsp+0x10]
    -       mov      rbx, rdi
    -						;; size=11 bbWeight=1 PerfScore 3.75
    +       mov      rbp, rsp
    +						;; size=4 bbWeight=1 PerfScore 1.25
     G_M37488_IG02:
    -       test     rbx, rbx
    -       je       SHORT G_M37488_IG04
    +       test     rdi, rdi
    +       je       SHORT G_M37488_IG06
     						;; size=5 bbWeight=1 PerfScore 1.25
     G_M37488_IG03:
    -       mov      rsi, rbx
    +       mov      rsi, rdi
            mov      rdi, 0xD1FFAB1E      ; System.Collections.IList
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFINTERFACE
            call     [rax]CORINFO_HELP_ISINSTANCEOFINTERFACE
            test     rax, rax
    -       jne      SHORT G_M37488_IG06
    -       mov      rsi, rbx
    -       mov      rdi, 0xD1FFAB1E      ; byte[]
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFARRAY
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFARRAY
    -       test     rax, rax
    -       je       SHORT G_M37488_IG07
    -       cmp      dword ptr [rax+0x08], 0
    -       jne      SHORT G_M37488_IG07
    -						;; size=66 bbWeight=0.50 PerfScore 6.50
    -G_M37488_IG04:
    -       mov      eax, 1
    -						;; size=5 bbWeight=0.50 PerfScore 0.12
    -G_M37488_IG05:
    -       add      rsp, 8
    -       pop      rbx
    -       pop      rbp
    -       ret      
    -						;; size=7 bbWeight=0.50 PerfScore 1.12
    -G_M37488_IG06:
    +       je       SHORT G_M37488_IG04
            mov      rdi, rax
            mov      r11, 0xD1FFAB1E      ; code for System.Collections.ICollection:get_Count():int:this
            call     [r11]System.Collections.ICollection:get_Count():int:this
            test     eax, eax
    -       je       SHORT G_M37488_IG04
    -						;; size=20 bbWeight=0.50 PerfScore 2.38
    -G_M37488_IG07:
    +       je       SHORT G_M37488_IG06
    +						;; size=50 bbWeight=0.50 PerfScore 4.88
    +G_M37488_IG04:
            xor      eax, eax
     						;; size=2 bbWeight=0.50 PerfScore 0.12
    -G_M37488_IG08:
    -       add      rsp, 8
    -       pop      rbx
    +G_M37488_IG05:
            pop      rbp
            ret      
    -						;; size=7 bbWeight=0.50 PerfScore 1.12
    +						;; size=2 bbWeight=0.50 PerfScore 0.75
    +G_M37488_IG06:
    +       mov      eax, 1
    +						;; size=5 bbWeight=0.50 PerfScore 0.12
    +G_M37488_IG07:
    +       pop      rbp
    +       ret      
    +						;; size=2 bbWeight=0.50 PerfScore 0.75
     
    -; Total bytes of code 123, prolog size 8, PerfScore 16.38, instruction count 36, allocated bytes for code 123 (MethodHash=606a6d8f) for method FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool (FullOpts)
    +; Total bytes of code 70, prolog size 4, PerfScore 9.12, instruction count 21, allocated bytes for code 70 (MethodHash=606a6d8f) for method FluentFTP.Helpers.Collections:IsBlank(System.Collections.IEnumerable):bool (FullOpts)
     ; ============================================================
    -45 (-9.96 % of base) - Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this
     ; Assembly listing for method Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
     ; Emitting BLENDED_CODE for x64 + VEX + EVEX on Unix
     ; FullOpts code
     ; optimized code
     ; rbp based frame
     ; partially interruptible
     ; No PGO data
     ; 0 inlinees with PGO data; 3 single block inlinees; 2 inlinees without PGO data
     ; Final local variable assignments
     ;
     ;  V00 this         [V00,T00] ( 10,  6   )     ref  ->  rbx         this class-hnd single-def <Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader>
     ;  V01 loc0         [V01,T01] (  8,  4.50)     int  ->  r15         single-def
    -;  V02 loc1         [V02,T03] (  6,  3   )     ref  ->  r14         class-hnd single-def <System.Object>
    +;  V02 loc1         [V02,T03] (  5,  2.50)     ref  ->  r14         class-hnd single-def <System.Object>
     ;  V03 loc2         [V03,T05] (  4,  2   )     ref  ->  r15         class-hnd <System.String>
    -;  V04 loc3         [V04,T11] (  3,  1.50)     ref  ->  rax         class-hnd single-def <System.IFormattable>
    -;  V05 loc4         [V05,T06] (  4,  2   )     ref  ->  rax         class-hnd single-def <System.Uri>
    +;  V04 loc3         [V04,T08] (  3,  1.50)     ref  ->  rax         class-hnd single-def <System.IFormattable>
    +;* V05 loc4         [V05,T11] (  0,  0   )     ref  ->  zero-ref    class-hnd single-def <System.Uri>
     ;# V06 OutArgs      [V06    ] (  1,  1   )  struct ( 0) [rsp+0x00]  do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty>
    -;  V07 tmp1         [V07,T14] (  3,  0   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <Elastic.Apm.Libraries.Newtonsoft.Json.JsonToken>
    -;  V08 tmp2         [V08,T15] (  2,  0   )     ref  ->  rsi         class-hnd exact single-def "impImportAndPushBox" <System.Globalization.CultureInfo>
    -;  V09 tmp3         [V09,T12] (  3,  1.50)     ref  ->  r15        
    -;  V10 tmp4         [V10,T09] (  2,  2   )     ref  ->  rdx         class-hnd single-def "dup spill" <System.Globalization.CultureInfo>
    +;  V07 tmp1         [V07,T12] (  3,  0   )     ref  ->  rax         class-hnd exact single-def "Single-def Box Helper" <Elastic.Apm.Libraries.Newtonsoft.Json.JsonToken>
    +;  V08 tmp2         [V08,T13] (  2,  0   )     ref  ->  rsi         class-hnd exact single-def "impImportAndPushBox" <System.Globalization.CultureInfo>
    +;  V09 tmp3         [V09,T10] (  2,  1   )     ref  ->  r15        
    +;  V10 tmp4         [V10,T07] (  2,  2   )     ref  ->  rdx         class-hnd single-def "dup spill" <System.Globalization.CultureInfo>
     ;  V11 tmp5         [V11,T04] (  5,  2.50)     ref  ->  rdx        
    -;  V12 tmp6         [V12,T10] (  2,  2   )     ref  ->  r15         class-hnd exact single-def "dup spill" <System.String>
    -;  V13 tmp7         [V13,T07] (  4,  2   )     ref  ->  r15        
    +;* V12 tmp6         [V12    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact single-def "dup spill" <System.String>
    +;* V13 tmp7         [V13    ] (  0,  0   )     ref  ->  zero-ref   
     ;* V14 tmp8         [V14    ] (  0,  0   )     ref  ->  zero-ref    class-hnd exact "Inlining Arg" <System.String>
    -;  V15 tmp9         [V15,T16] (  2,  0   )     ref  ->  rsi         single-def "argument with side effect"
    -;  V16 tmp10        [V16,T08] (  3,  2   )     ref  ->  rsi         single-def "argument with side effect"
    +;  V15 tmp9         [V15,T14] (  2,  0   )     ref  ->  rsi         single-def "argument with side effect"
    +;  V16 tmp10        [V16,T06] (  3,  2   )     ref  ->  rsi         single-def "argument with side effect"
     ;  V17 rat0         [V17,T02] (  4,  3.50)     ref  ->  rax         "replacement local"
    -;  V18 rat1         [V18,T13] (  3,  1   )    long  ->  rdi         "CSE for expectedClsNode"
    +;  V18 rat1         [V18,T09] (  3,  1   )    long  ->  rdi         "CSE for expectedClsNode"
     ;
     ; Lcl frame size = 8
     
     G_M60768_IG01:
            push     rbp
            push     r15
            push     r14
            push     rbx
            push     rax
            lea      rbp, [rsp+0x20]
            mov      rbx, rdi
     						;; size=15 bbWeight=1 PerfScore 5.75
     G_M60768_IG02:
            mov      rdi, rbx
            mov      rax, 0xD1FFAB1E      ; code for Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:GetContentToken():int:this
            call     [rax]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:GetContentToken():int:this
            mov      r15d, eax
            cmp      r15d, 9
            jle      SHORT G_M60768_IG04
     						;; size=24 bbWeight=1 PerfScore 5.00
     G_M60768_IG03:
            cmp      r15d, 11
            je       SHORT G_M60768_IG05
            cmp      r15d, 14
            jne      SHORT G_M60768_IG08
            jmp      SHORT G_M60768_IG05
     						;; size=14 bbWeight=0.50 PerfScore 2.25
     G_M60768_IG04:
            test     r15d, r15d
            jne      SHORT G_M60768_IG07
     						;; size=5 bbWeight=0.50 PerfScore 0.62
     G_M60768_IG05:
            xor      rax, rax
     						;; size=2 bbWeight=0.50 PerfScore 0.12
     G_M60768_IG06:
            add      rsp, 8
            pop      rbx
            pop      r14
            pop      r15
            pop      rbp
            ret      
     						;; size=11 bbWeight=0.50 PerfScore 1.62
     G_M60768_IG07:
            cmp      r15d, 9
    -       je       G_M60768_IG15
    +       je       G_M60768_IG12
     						;; size=10 bbWeight=0.50 PerfScore 0.62
     G_M60768_IG08:
            mov      edi, r15d
            mov      rax, 0xD1FFAB1E      ; code for Elastic.Apm.Libraries.Newtonsoft.Json.Utilities.JsonTokenUtils:IsPrimitiveToken(int):bool
            call     [rax]Elastic.Apm.Libraries.Newtonsoft.Json.Utilities.JsonTokenUtils:IsPrimitiveToken(int):bool
            test     eax, eax
    -       je       G_M60768_IG19
    +       je       G_M60768_IG16
            mov      rdi, rbx
            mov      rax, qword ptr [rbx]
            mov      rax, qword ptr [rax+0x58]
            call     [rax+0x08]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:get_Value():System.Object:this
            mov      r14, rax
            test     r14, r14
    -       je       G_M60768_IG19
    +       je       G_M60768_IG16
            mov      rsi, r14
            mov      rdi, 0xD1FFAB1E      ; System.IFormattable
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFINTERFACE
            call     [rax]CORINFO_HELP_ISINSTANCEOFINTERFACE
            test     rax, rax
    -       jne      SHORT G_M60768_IG12
    -       mov      rsi, r14
    -       mov      rdi, 0xD1FFAB1E      ; System.Uri
    -       mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_ISINSTANCEOFCLASS
    -       call     [rax]CORINFO_HELP_ISINSTANCEOFCLASS
    -       test     rax, rax
    -       je       SHORT G_M60768_IG10
    -       mov      r15, gword ptr [rax+0x10]
    -       test     r15, r15
            jne      SHORT G_M60768_IG09
    -       mov      r15, gword ptr [rax+0x08]
    -						;; size=121 bbWeight=0.50 PerfScore 14.38
    -G_M60768_IG09:
    -       jmp      SHORT G_M60768_IG11
    -						;; size=2 bbWeight=0.50 PerfScore 1.00
    -G_M60768_IG10:
            mov      rdi, r14
            mov      rax, qword ptr [r14]
            mov      rax, qword ptr [rax+0x40]
            call     [rax+0x08]System.Object:ToString():System.String:this
            mov      r15, rax
    -						;; size=16 bbWeight=0.50 PerfScore 3.75
    -G_M60768_IG11:
    -       jmp      SHORT G_M60768_IG13
    -						;; size=2 bbWeight=0.50 PerfScore 1.00
    -G_M60768_IG12:
    +       jmp      SHORT G_M60768_IG10
    +						;; size=96 bbWeight=0.50 PerfScore 14.00
    +G_M60768_IG09:
            mov      rdx, gword ptr [rbx+0x10]
            mov      rdi, 0xD1FFAB1E      ; const ptr
            test     rdx, rdx
            cmove    rdx, gword ptr [rdi]
            mov      rdi, rax
            mov      r11, 0xD1FFAB1E      ; code for System.IFormattable:ToString(System.String,System.IFormatProvider):System.String:this
            xor      rsi, rsi
            call     [r11]System.IFormattable:ToString(System.String,System.IFormatProvider):System.String:this
            mov      r15, rax
     						;; size=42 bbWeight=0.50 PerfScore 4.25
    -G_M60768_IG13:
    +G_M60768_IG10:
            mov      rdi, rbx
            mov      rdx, r15
            mov      esi, 9
            xor      ecx, ecx
            mov      rax, 0xD1FFAB1E      ; code for Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:SetToken(int,System.Object,bool):this
            call     [rax]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:SetToken(int,System.Object,bool):this
            mov      rax, r15
     						;; size=28 bbWeight=0.50 PerfScore 2.25
    +G_M60768_IG11:
    +       add      rsp, 8
    +       pop      rbx
    +       pop      r14
    +       pop      r15
    +       pop      rbp
    +       ret      
    +						;; size=11 bbWeight=0.50 PerfScore 1.62
    +G_M60768_IG12:
    +       mov      rdi, rbx
    +       mov      rax, qword ptr [rbx]
    +       mov      rax, qword ptr [rax+0x58]
    +       call     [rax+0x08]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:get_Value():System.Object:this
    +       mov      rsi, rax
    +       mov      rax, rsi
    +       test     rax, rax
    +       je       SHORT G_M60768_IG14
    +						;; size=24 bbWeight=0.50 PerfScore 4.50
    +G_M60768_IG13:
    +       mov      rdi, 0xD1FFAB1E      ; System.String
    +       cmp      qword ptr [rax], rdi
    +       jne      SHORT G_M60768_IG15
    +						;; size=15 bbWeight=0.25 PerfScore 0.81
     G_M60768_IG14:
            add      rsp, 8
            pop      rbx
            pop      r14
            pop      r15
            pop      rbp
            ret      
     						;; size=11 bbWeight=0.50 PerfScore 1.62
     G_M60768_IG15:
    -       mov      rdi, rbx
    -       mov      rax, qword ptr [rbx]
    -       mov      rax, qword ptr [rax+0x58]
    -       call     [rax+0x08]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:get_Value():System.Object:this
    -       mov      rsi, rax
    -       mov      rax, rsi
    -       test     rax, rax
    -       je       SHORT G_M60768_IG17
    -						;; size=24 bbWeight=0.50 PerfScore 4.50
    -G_M60768_IG16:
    -       mov      rdi, 0xD1FFAB1E      ; System.String
    -       cmp      qword ptr [rax], rdi
    -       jne      SHORT G_M60768_IG18
    -						;; size=15 bbWeight=0.25 PerfScore 0.81
    -G_M60768_IG17:
    -       add      rsp, 8
    -       pop      rbx
    -       pop      r14
    -       pop      r15
    -       pop      rbp
    -       ret      
    -						;; size=11 bbWeight=0.50 PerfScore 1.62
    -G_M60768_IG18:
            mov      rax, 0xD1FFAB1E      ; code for CORINFO_HELP_CHKCASTCLASS
            call     [rax]CORINFO_HELP_CHKCASTCLASS
            int3     
     						;; size=13 bbWeight=0 PerfScore 0.00
    -G_M60768_IG19:
    +G_M60768_IG16:
            mov      rdi, 0xD1FFAB1E      ; Elastic.Apm.Libraries.Newtonsoft.Json.JsonToken
            call     CORINFO_HELP_NEWSFAST
            mov      rdx, 0xD1FFAB1E      ; const ptr
            mov      rsi, gword ptr [rdx]
            mov      dword ptr [rax+0x08], r15d
            mov      rdx, rax
            mov      rdi, 0xD1FFAB1E      ; 'Error reading string. Unexpected token: {0}.'
            mov      rax, 0xD1FFAB1E      ; code for Elastic.Apm.Libraries.Newtonsoft.Json.Utilities.StringUtils:FormatWith(System.String,System.IFormatProvider,System.Object):System.String
            call     [rax]Elastic.Apm.Libraries.Newtonsoft.Json.Utilities.StringUtils:FormatWith(System.String,System.IFormatProvider,System.Object):System.String
            mov      rsi, rax
            mov      rdi, rbx
            xor      rdx, rdx
            mov      rax, 0xD1FFAB1E      ; code for Elastic.Apm.Libraries.Newtonsoft.Json.JsonReaderException:Create(Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader,System.String,System.Exception):Elastic.Apm.Libraries.Newtonsoft.Json.JsonReaderException
            call     [rax]Elastic.Apm.Libraries.Newtonsoft.Json.JsonReaderException:Create(Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader,System.String,System.Exception):Elastic.Apm.Libraries.Newtonsoft.Json.JsonReaderException
            mov      rdi, rax
            call     CORINFO_HELP_THROW
            int3     
     						;; size=86 bbWeight=0 PerfScore 0.00
     
    -; Total bytes of code 452, prolog size 12, PerfScore 51.19, instruction count 123, allocated bytes for code 452 (MethodHash=0869129f) for method Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (FullOpts)
    +; Total bytes of code 407, prolog size 12, PerfScore 45.06, instruction count 112, allocated bytes for code 407 (MethodHash=0869129f) for method Elastic.Apm.Libraries.Newtonsoft.Json.JsonReader:ReadAsString():System.String:this (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/b748e990f54a33a3236951b0d578befe

  2. MihuBot commented on Jul 5, 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