Found 88 files with textual diffs.
Summary of Code Size diffs:
(Lower is better)
Total bytes of base: 46588502
Total bytes of diff: 46588420
Total bytes of delta: -82 (-0.00 % of base)
Total relative delta: -0.11
diff is an improvement.
relative diff is an improvement.
Top file improvements (bytes):
-34 : System.Private.CoreLib.dasm (-0.00 % of base)
-30 : System.Text.Encoding.CodePages.dasm (-0.04 % of base)
-12 : System.Private.Xml.dasm (-0.00 % of base)
-4 : System.Text.Json.dasm (-0.00 % of base)
-2 : System.Collections.Immutable.dasm (-0.00 % of base)
5 total files with Code Size differences (5 improved, 0 regressed), 255 unchanged.
Top method improvements (bytes):
-30 (-1.32 % of base) : System.Text.Encoding.CodePages.dasm - System.Text.GB18030Encoding:GetBytes(ptr,int,ptr,int,System.Text.EncoderNLS):int:this (FullOpts)
-12 (-1.22 % of base) : System.Private.CoreLib.dasm - System.Globalization.DateTimeFormatInfo:InsertHash(System.Globalization.DateTimeFormatInfo+TokenHashValue[],System.String,int,int):this (FullOpts)
-12 (-0.78 % of base) : System.Private.CoreLib.dasm - System.Globalization.DateTimeFormatInfo:Tokenize(int,byref,byref,byref):bool:this (FullOpts)
-12 (-2.07 % of base) : System.Private.Xml.dasm - System.Xml.Schema.XsdDuration:TryToTimeSpan(int,byref):System.Exception:this (FullOpts)
-6 (-1.21 % of base) : System.Private.CoreLib.dasm - System.Diagnostics.Tracing.EventSource:SendManifest(byte[]):this (FullOpts)
-2 (-0.18 % of base) : System.Collections.Immutable.dasm - System.Collections.Frozen.KeyAnalyzer:TryUseSubstring(System.ReadOnlySpan`1[System.String],bool,bool,int,int,byref):bool (FullOpts)
-2 (-1.79 % of base) : System.Private.CoreLib.dasm - System.DateTime:get_Day():int:this (FullOpts)
-2 (-1.23 % of base) : System.Private.CoreLib.dasm - System.DateTime:GetDate(ulong,byref,byref,byref) (FullOpts)
-2 (-0.95 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonReader:UnescapeAndCompare(System.ReadOnlySpan`1[byte]):bool:this (FullOpts)
-2 (-0.52 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteBase64StringSegmentData(System.ReadOnlySpan`1[byte],bool):this (FullOpts)
Top method improvements (percentages):
-12 (-2.07 % of base) : System.Private.Xml.dasm - System.Xml.Schema.XsdDuration:TryToTimeSpan(int,byref):System.Exception:this (FullOpts)
-2 (-1.79 % of base) : System.Private.CoreLib.dasm - System.DateTime:get_Day():int:this (FullOpts)
-30 (-1.32 % of base) : System.Text.Encoding.CodePages.dasm - System.Text.GB18030Encoding:GetBytes(ptr,int,ptr,int,System.Text.EncoderNLS):int:this (FullOpts)
-2 (-1.23 % of base) : System.Private.CoreLib.dasm - System.DateTime:GetDate(ulong,byref,byref,byref) (FullOpts)
-12 (-1.22 % of base) : System.Private.CoreLib.dasm - System.Globalization.DateTimeFormatInfo:InsertHash(System.Globalization.DateTimeFormatInfo+TokenHashValue[],System.String,int,int):this (FullOpts)
-6 (-1.21 % of base) : System.Private.CoreLib.dasm - System.Diagnostics.Tracing.EventSource:SendManifest(byte[]):this (FullOpts)
-2 (-0.95 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonReader:UnescapeAndCompare(System.ReadOnlySpan`1[byte]):bool:this (FullOpts)
-12 (-0.78 % of base) : System.Private.CoreLib.dasm - System.Globalization.DateTimeFormatInfo:Tokenize(int,byref,byref,byref):bool:this (FullOpts)
-2 (-0.52 % of base) : System.Text.Json.dasm - System.Text.Json.Utf8JsonWriter:WriteBase64StringSegmentData(System.ReadOnlySpan`1[byte],bool):this (FullOpts)
-2 (-0.18 % of base) : System.Collections.Immutable.dasm - System.Collections.Frozen.KeyAnalyzer:TryUseSubstring(System.ReadOnlySpan`1[System.String],bool,bool,int,int,byref):bool (FullOpts)
10 total methods with Code Size differences (10 improved, 0 regressed), 288568 unchanged.
--------------------------------------------------------------------------------
Job completed in 16 minutes 51 seconds (remote runner delay: 1 minute 25 seconds).
https://github.com/dotnet/runtime/tree/copilot/optimize-division-in-jit
Main commit: dotnet/runtime@9dd152c
PR commit: dotnet/runtime@6411f96
Diffs
Artifacts: