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
{{ message }}
Repository navigation
JIT: look at cost impact of assertion dup detection #10592
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additions
When we generate new assertions we check to see if they're duplicates. If so we don't need to record them. Data from PMI shows that about 75% of generated assertions are duplicates.
The check does a linear scan against the existing assertion table which is potentially costly, and this cost would grow if we start recording all or more assertions as proposed in #10591.
Profiling (crossgen x64 of Microsoft.CodeAnalysis.VisualBasic.dll) suggests optAddAssertion gets inlined and it currently represents perhaps ~1% of the time spent in the jit. (Assertion prop as whole is about 5%).
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additions
Activity
erozenfeld commentedon Jun 29, 2018
@dotnet/jit-contrib
kunalspathak commentedon Dec 22, 2022
Related work: #72700 and #73035.