You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found 84 files with textual diffs.
Summary of Code Size diffs:
(Lower is better)
Total bytes of base: 40949964
Total bytes of diff: 40949924
Total bytes of delta: -40 (-0.00 % of base)
Total relative delta: -0.16
diff is an improvement.
relative diff is an improvement.
Top file improvements (bytes):
-40 : System.Private.CoreLib.dasm (-0.00 % of base)
1 total files with Code Size differences (1 improved, 0 regressed), 259 unchanged.
Top method regressions (bytes):
2 (3.12 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object) (FullOpts)
2 (2.04 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object) (FullOpts)
Top method improvements (bytes):
-44 (-20.85 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper(byref,ptr,System.Object) (FullOpts)
Top method regressions (percentages):
2 (3.12 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object) (FullOpts)
2 (2.04 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object) (FullOpts)
Top method improvements (percentages):
-44 (-20.85 % of base) : System.Private.CoreLib.dasm - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper(byref,ptr,System.Object) (FullOpts)
3 total methods with Code Size differences (1 improved, 2 regressed), 247992 unchanged.
--------------------------------------------------------------------------------
Activity
MihuBot commentedon Jul 13, 2025
Top method regressions
2 (3.12 % of base) - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object)
; Assembly listing for method System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object) (FullOpts) ; Emitting BLENDED_CODE for generic 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] ( 3, 3 ) byref -> rbx single-def ; V01 arg1 [V01,T02] ( 3, 3 ) long -> rsi single-def ; V02 arg2 [V02,T01] ( 3, 3 ) ref -> rdx class-hnd single-def <System.Object> ; V03 loc0 [V03,T03] ( 3, 3 ) ref -> rax class-hnd single-def <System.Object> ;# V04 OutArgs [V04 ] ( 1, 1 ) struct ( 0) [rsp+0x00] do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty> ; ; Lcl frame size = 8 G_M12151_IG01: push rbp push rbx push rax lea rbp, [rsp+0x10] mov rbx, rdi ;; size=11 bbWeight=1 PerfScore 3.75 G_M12151_IG02: mov rdi, rsi mov rsi, rdx mov rax, 0xD1FFAB1E ; code for System.Runtime.CompilerServices.CastHelpers:IsInstanceOfAny_NoCacheLookup(ptr,System.Object):System.Object call [rax]System.Runtime.CompilerServices.CastHelpers:IsInstanceOfAny_NoCacheLookup(ptr,System.Object):System.Object test rax, rax je SHORT G_M12151_IG04 mov rdi, rbx mov rsi, rax - ;; size=29 bbWeight=1 PerfScore 5.50 + call CORINFO_HELP_CHECKED_ASSIGN_REF + nop + ;; size=35 bbWeight=1 PerfScore 6.75 G_M12151_IG03: add rsp, 8 pop rbx pop rbp - jmp System.Runtime.CompilerServices.CastHelpers:WriteBarrier(byref,System.Object) - ;; size=11 bbWeight=1 PerfScore 3.25 + ret + ;; size=7 bbWeight=1 PerfScore 2.25 G_M12151_IG04: mov rax, 0xD1FFAB1E ; code for System.Runtime.CompilerServices.CastHelpers:ThrowArrayMismatchException() call [rax]System.Runtime.CompilerServices.CastHelpers:ThrowArrayMismatchException() int3 ;; size=13 bbWeight=0.50 PerfScore 1.75 -; Total bytes of code 64, prolog size 8, PerfScore 14.25, instruction count 20, allocated bytes for code 64 (MethodHash=c71bd088) for method System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object) (FullOpts) +; Total bytes of code 66, prolog size 8, PerfScore 14.50, instruction count 22, allocated bytes for code 66 (MethodHash=c71bd088) for method System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper_NoCacheLookup(byref,ptr,System.Object) (FullOpts) ; ============================================================2 (2.04 % of base) - System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object)
; Assembly listing for method System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object) (FullOpts) ; Emitting BLENDED_CODE for generic X64 + VEX + EVEX on Unix ; FullOpts code ; optimized code ; rbp based frame ; fully interruptible ; No PGO data ; Final local variable assignments ; ; V00 arg0 [V00,T00] ( 5, 5 ) ref -> rdi class-hnd single-def <System.Object[]> ; V01 arg1 [V01,T02] ( 4, 4 ) long -> rsi single-def ; V02 arg2 [V02,T01] ( 6, 4.50) ref -> rdx class-hnd single-def <System.Object> ; V03 loc0 [V03,T03] ( 4, 2.50) byref -> rax single-def ; V04 loc1 [V04,T05] ( 3, 2 ) long -> rsi ;# V05 OutArgs [V05 ] ( 1, 1 ) struct ( 0) [rsp+0x00] do-not-enreg[XS] addr-exposed "OutgoingArgSpace" <Empty> ; V06 cse0 [V06,T04] ( 3, 2.50) long -> rdi "CSE #01: aggressive" ; ; Lcl frame size = 0 G_M17415_IG01: push rbp mov rbp, rsp ;; size=4 bbWeight=1 PerfScore 1.25 G_M17415_IG02: mov eax, dword ptr [rdi+0x08] cmp rax, rsi jbe SHORT G_M17415_IG09 lea rax, bword ptr [rdi+8*rsi+0x10] mov rdi, qword ptr [rdi] mov rsi, qword ptr [rdi+0x30] test rdx, rdx - jne SHORT G_M17415_IG05 + jne SHORT G_M17415_IG04 ;; size=25 bbWeight=1 PerfScore 9.50 G_M17415_IG03: xor rdx, rdx mov gword ptr [rax], rdx - ;; size=5 bbWeight=0.50 PerfScore 0.62 + jmp SHORT G_M17415_IG07 + ;; size=7 bbWeight=0.50 PerfScore 1.62 G_M17415_IG04: - pop rbp - ret - ;; size=2 bbWeight=0.50 PerfScore 0.75 -G_M17415_IG05: cmp rsi, qword ptr [rdx] - je SHORT G_M17415_IG07 + je SHORT G_M17415_IG06 mov rcx, 0xD1FFAB1E ; System.Object[] cmp rdi, rcx - je SHORT G_M17415_IG07 + je SHORT G_M17415_IG06 mov rdi, rax mov rax, 0xD1FFAB1E ; code for System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper(byref,ptr,System.Object) ;; size=33 bbWeight=0.50 PerfScore 3.00 -G_M17415_IG06: +G_M17415_IG05: pop rbp tail.jmp [rax]System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper(byref,ptr,System.Object) ;; size=4 bbWeight=0.50 PerfScore 2.25 -G_M17415_IG07: +G_M17415_IG06: mov rdi, rax mov rsi, rdx - ;; size=6 bbWeight=0.50 PerfScore 0.25 + call CORINFO_HELP_ASSIGN_REF + ;; size=11 bbWeight=0.50 PerfScore 0.75 +G_M17415_IG07: + nop + ;; size=1 bbWeight=0.50 PerfScore 0.12 G_M17415_IG08: pop rbp - jmp System.Runtime.CompilerServices.CastHelpers:WriteBarrier(byref,System.Object) - ;; size=6 bbWeight=0.50 PerfScore 1.25 + ret + ;; size=2 bbWeight=0.50 PerfScore 0.75 G_M17415_IG09: mov rax, 0xD1FFAB1E ; code for System.Runtime.CompilerServices.CastHelpers:ThrowIndexOutOfRangeException() call [rax]System.Runtime.CompilerServices.CastHelpers:ThrowIndexOutOfRangeException() int3 ;; size=13 bbWeight=0.50 PerfScore 1.75 -; Total bytes of code 98, prolog size 4, PerfScore 20.62, instruction count 30, allocated bytes for code 98 (MethodHash=9da9bbf8) for method System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object) (FullOpts) +; Total bytes of code 100, prolog size 4, PerfScore 21.00, instruction count 31, allocated bytes for code 100 (MethodHash=9da9bbf8) for method System.Runtime.CompilerServices.CastHelpers:StelemRef(System.Object[],nint,System.Object) (FullOpts) ; ============================================================MihuBot commentedon Jul 13, 2025
Top method improvements
-44 (-20.85 % of base) - System.Runtime.CompilerServices.CastHelpers:StelemRef_Helper(byref,ptr,System.Object)
MihuBot commentedon Jul 13, 2025
@EgorBo