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
@benmwatson Thanks for adding this Ben! Quick question - Are both # bytes jitted / sec and total # of bytes jitted important? Could you elaborate on why the total # of bytes jitted in the entire process lifetime useful if the rate of IL bytes jitted is available?
The reason I ask is because we're trying to limit the number of runtime counters being added to avoid what we had back in the Framework days which confused a lot of people and had many counters that weren't very useful in quickly diagnosing performance issues.
@sywhang Both are useful in their way. The rate counter is nice because we can detect if jitting is happening concurrent to other performance counters. The total bytes jitted is useful because we JIT a truly enormous amount of code in our process and are sensitive to changes that cause a lot more code to be jitted.
If I had to pick one over the other, I'd go with total # of bytes jitted. That least can show jumps that correlate with other events.
Activity
BruceForstall commentedon Jan 3, 2020
@tommcdon Is this something that better falls into area-Diagnostics?
tommcdon commentedon Jan 3, 2020
I believe @sywhang was looking into this
sywhang commentedon Jan 3, 2020
@benmwatson Thanks for adding this Ben! Quick question - Are both # bytes jitted / sec and total # of bytes jitted important? Could you elaborate on why the total # of bytes jitted in the entire process lifetime useful if the rate of IL bytes jitted is available?
The reason I ask is because we're trying to limit the number of runtime counters being added to avoid what we had back in the Framework days which confused a lot of people and had many counters that weren't very useful in quickly diagnosing performance issues.
benmwatson commentedon Jan 3, 2020
@sywhang Both are useful in their way. The rate counter is nice because we can detect if jitting is happening concurrent to other performance counters. The total bytes jitted is useful because we JIT a truly enormous amount of code in our process and are sensitive to changes that cause a lot more code to be jitted.
If I had to pick one over the other, I'd go with total # of bytes jitted. That least can show jumps that correlate with other events.
sywhang commentedon May 21, 2020
This has been implemented via #36489