Skip to content

[JitDiff X64] [MichalPetryka] Optimize GetType with known type #1970

@MihuBot

Description

@MihuBot

Job completed in 16 minutes 28 seconds (remote runner delay: 1 minute 13 seconds).

Using arguments: -NoPRLink
Main commit: dotnet/runtime@6fb2c42
PR commit: MichalPetryka/runtime@f28df55

Diffs

Found 88 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 46541791
Total bytes of diff: 46541718
Total bytes of delta: -73 (-0.00 % of base)
Total relative delta: -0.05
    diff is an improvement.
    relative diff is an improvement.


Top file improvements (bytes):
         -59 : System.Private.Xml.dasm (-0.00 % of base)
         -11 : System.Private.DataContractSerialization.dasm (-0.00 % of base)
          -2 : System.Private.Uri.dasm (-0.00 % of base)
          -1 : System.Net.HttpListener.dasm (-0.00 % of base)

4 total files with Code Size differences (4 improved, 0 regressed), 256 unchanged.

Top method regressions (bytes):
           3 (1.52 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardEncoder:Flush(System.Span`1[byte],byref):int:this (FullOpts)
           1 (0.19 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardStream:ReleaseStateForDispose():this (FullOpts)

Top method improvements (bytes):
         -33 (-0.52 % of base) : System.Private.Xml.dasm - System.Xml.Serialization.XmlSerializationWriterCodeGen:WriteValue(System.Object):this (FullOpts)
         -26 (-2.17 % of base) : System.Private.Xml.dasm - System.Xml.XPath.XPathException:GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):this (FullOpts)
         -11 (-2.23 % of base) : System.Private.DataContractSerialization.dasm - System.Runtime.Serialization.Json.JsonFormatWriterGenerator+CriticalHelper:WriteArrayAttribute():this (FullOpts)
          -4 (-1.83 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardEncoder:Compress(System.ReadOnlySpan`1[byte],System.Span`1[byte],byref,byref,bool):int:this (FullOpts)
          -2 (-0.17 % of base) : System.Private.Uri.dasm - System.Uri:GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):this (FullOpts)
          -1 (-0.22 % of base) : System.Net.HttpListener.dasm - System.Net.HttpListener:Close():this (FullOpts)

Top method regressions (percentages):
           3 (1.52 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardEncoder:Flush(System.Span`1[byte],byref):int:this (FullOpts)
           1 (0.19 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardStream:ReleaseStateForDispose():this (FullOpts)

Top method improvements (percentages):
         -11 (-2.23 % of base) : System.Private.DataContractSerialization.dasm - System.Runtime.Serialization.Json.JsonFormatWriterGenerator+CriticalHelper:WriteArrayAttribute():this (FullOpts)
         -26 (-2.17 % of base) : System.Private.Xml.dasm - System.Xml.XPath.XPathException:GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):this (FullOpts)
          -4 (-1.83 % of base) : System.IO.Compression.dasm - System.IO.Compression.ZstandardEncoder:Compress(System.ReadOnlySpan`1[byte],System.Span`1[byte],byref,byref,bool):int:this (FullOpts)
         -33 (-0.52 % of base) : System.Private.Xml.dasm - System.Xml.Serialization.XmlSerializationWriterCodeGen:WriteValue(System.Object):this (FullOpts)
          -1 (-0.22 % of base) : System.Net.HttpListener.dasm - System.Net.HttpListener:Close():this (FullOpts)
          -2 (-0.17 % of base) : System.Private.Uri.dasm - System.Uri:GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext):this (FullOpts)

8 total methods with Code Size differences (6 improved, 2 regressed), 288702 unchanged.

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

Artifacts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions