Skip to content
  • Peter Zhu's avatar
    93ac7405
    Add marking and sweeping time to GC.stat · 93ac7405
    Peter Zhu authored
    There is a `time` key in GC.stat that gives us the total time spent in
    GC. However, we don't know what proportion of the time is spent between
    marking and sweeping. This makes it difficult to tune the GC as we're
    not sure where to focus our efforts on.
    
    This PR adds keys `marking_time` and `sweeping_time` to GC.stat for the
    time spent marking and sweeping, in milliseconds.
    
    [Feature #19437]
    93ac7405
    Add marking and sweeping time to GC.stat
    Peter Zhu authored
    There is a `time` key in GC.stat that gives us the total time spent in
    GC. However, we don't know what proportion of the time is spent between
    marking and sweeping. This makes it difficult to tune the GC as we're
    not sure where to focus our efforts on.
    
    This PR adds keys `marking_time` and `sweeping_time` to GC.stat for the
    time spent marking and sweeping, in milliseconds.
    
    [Feature #19437]
Loading