MihuBot / runtime-utils

0 stars 0 forks source link

[X64] [xtqqczze] Reduce IL size for `BitConverter.GetBytes` #174

Open MihuBot opened 1 year ago

MihuBot commented 1 year ago

Build completed in 1 hour 36 minutes. https://github.com/dotnet/runtime/pull/91639

CoreLib diffs

Found 2 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 7113224
Total bytes of diff: 7113224
Total bytes of delta: 0 (0.00 % of base)

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

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

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

Frameworks diffs

Diffs ``` Found 262 files with textual diffs. Summary of Code Size diffs: (Lower is better) Total bytes of base: 38368791 Total bytes of diff: 38368855 Total bytes of delta: 64 (0.00 % of base) Total relative delta: 0.83 diff is a regression. relative diff is a regression. Top file regressions (bytes): 117 : Microsoft.VisualBasic.Core.dasm (0.02 % of base) 28 : ILCompiler.Reflection.ReadyToRun.dasm (0.01 % of base) Top file improvements (bytes): -81 : System.Data.Common.dasm (-0.00 % of base) 3 total files with Code Size differences (1 improved, 2 regressed), 253 unchanged. Top method regressions (bytes): 67 (36.41 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.VBMath:Rnd(float):float (FullOpts) 50 (42.37 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.VBMath:Randomize() (FullOpts) 18 (1.58 % of base) : ILCompiler.Reflection.ReadyToRun.dasm - ILCompiler.Reflection.ReadyToRun.x86.GcInfo:GetTransitionsNoEbp(ubyte[],byref):this (FullOpts) 10 (8.77 % of base) : ILCompiler.Reflection.ReadyToRun.dasm - ILCompiler.Reflection.ReadyToRun.x86.CallPattern:DecodeCallPattern(uint,byref,byref,byref,byref) (FullOpts) Top method improvements (bytes): -81 (-5.77 % of base) : System.Data.Common.dasm - System.Data.Common.ObjectStorage:Set(int,System.Object):this (FullOpts) Top method regressions (percentages): 50 (42.37 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.VBMath:Randomize() (FullOpts) 67 (36.41 % of base) : Microsoft.VisualBasic.Core.dasm - Microsoft.VisualBasic.VBMath:Rnd(float):float (FullOpts) 10 (8.77 % of base) : ILCompiler.Reflection.ReadyToRun.dasm - ILCompiler.Reflection.ReadyToRun.x86.CallPattern:DecodeCallPattern(uint,byref,byref,byref,byref) (FullOpts) 18 (1.58 % of base) : ILCompiler.Reflection.ReadyToRun.dasm - ILCompiler.Reflection.ReadyToRun.x86.GcInfo:GetTransitionsNoEbp(ubyte[],byref):this (FullOpts) Top method improvements (percentages): -81 (-5.77 % of base) : System.Data.Common.dasm - System.Data.Common.ObjectStorage:Set(int,System.Object):this (FullOpts) 5 total methods with Code Size differences (1 improved, 4 regressed), 232311 unchanged. -------------------------------------------------------------------------------- ```

Artifacts:

MihuBot commented 1 year ago

@MihaZupan