Skip to content

Add JIT performance counters #1098

Closed
Closed

Description

@benmwatson

Specifically, these:

  • .NET CLR Jit\# of IL Bytes JITted
  • .NET CLR Jit\IL Bytes Jitted / sec
  • .NET CLR Jit\# of Methods Jitted

To bring Core into parity with what is available in .NET Framework.

Activity

  1. added
    area-CodeGen-coreclr
    untriaged
    on Dec 20, 2019
  2. BruceForstall commented on Jan 3, 2020

    @BruceForstall
    Contributor

    @tommcdon Is this something that better falls into area-Diagnostics?

  3. added this to the 5.0 milestone on Jan 3, 2020
  4. tommcdon commented on Jan 3, 2020

    @tommcdon
    Member

    I believe @sywhang was looking into this

  5. self-assigned this
    on Jan 3, 2020
  6. sywhang commented on Jan 3, 2020

    @sywhang
    Contributor

    @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.

  7. benmwatson commented on Jan 3, 2020

    @benmwatson
    MemberAuthor

    @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.

  8. removed
    area-CodeGen-coreclr
    untriaged
    on Jan 3, 2020
  9. sywhang commented on May 21, 2020

    @sywhang
    Contributor

    This has been implemented via #36489

  10. ghost locked as resolved and limited conversation to collaborators on Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions